Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • Sign in / Register
Minds Frontend
Minds Frontend
  • Project overview
  • Repository
  • Issues 403
  • Merge Requests 69
  • CI / CD
  • Security & Compliance
  • Packages
  • Analytics
  • Wiki
  • Snippets
  • Members
  • Collapse sidebar
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds FrontendMinds Frontend
  • Merge Requests
  • !785

Open
Opened 16 hours ago by Mark Harding@markeharding
Report abuse

Reduces bundle size by 37%

  • Overview 0
  • Commits 1
  • Pipelines 2
  • Changes 94

Lazy loads analytics (+plotly) and admin to reduce to main bundle size by 37%. We are also now combing the vendor and main.js bundles to reduce network congestion. The new combined size is approximately the same as the vendor size perviously was.

Production bundles (gzip)

name size
vendor.js 948Kb
main.js 575Kb
1,523Kb

MR bundles (gzip)

name size
main.js 959Kb

Screenshot_2020-02-16_at_15.54.45

Edited 14 hours ago by Mark Harding
Request to merge chore/reduce-bundle-size into master
Open in Web IDE
Pipeline #118311233 passed with warnings for 44c60f1e on chore/reduce-bundle-size
              Requires 3 more approvals from Devs, Deployers, and QA.
              Juan Manuel Solaro Martin Santangelo Rami Albatal Emiliano Balbuena Brian Hatchet
              Ready to be merged automatically. Ask someone with write access to this repository to merge this request
              • Mark Harding @markeharding added Priority::1 - High Type::Chore scoped labels 16 hours ago

                added scoped labels

              • Mark Harding @markeharding changed the description 16 hours ago

                changed the description

              • Mark Harding @markeharding marked as a Work In Progress 16 hours ago

                marked as a Work In Progress

              • Mark Harding @markeharding added 1 commit 15 hours ago

                added 1 commit

                • 44c60f1e - (chore): reduce size of bundle by using lazy loading and removing unused libraries

                Compare with previous version

              • Mark Harding @markeharding changed the description 15 hours ago

                changed the description

              • Mark Harding @markeharding unmarked as a Work In Progress 14 hours ago

                unmarked as a Work In Progress

              Please register or sign in to reply
              0 Assignees
              None
              None
              Milestone
              None
              Time tracking
              No estimate or time spent
              2
              Labels
              Priority::1 - High Type::Chore
              Lock merge request
              Unlocked
              10
              10 participants
              user avatar
              user avatar
              user avatar
              user avatar
              user avatar
              user avatar
              user avatar
              Reference: minds/front!785