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 52 minutes ago by Mark Harding@markeharding
Report abuse

WIP: 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 9 minutes ago by Mark Harding
Request to merge chore/reduce-bundle-size into master
Open in Web IDE
Pipeline #118311233 running for 44c60f1e on chore/reduce-bundle-size
              Requires 3 more approvals from Devs, Deployers, and QA.
              Juan Manuel Solaro Olivia Madrid Martin Santangelo Marcelo Rivera Rami Albatal
              This is a Work in Progress
              You can merge this merge request manually using the
              • Mark Harding @markeharding added Priority::1 - High Type::Chore scoped labels 52 minutes ago

                added scoped labels

              • Mark Harding @markeharding changed the description 49 minutes ago

                changed the description

              • Mark Harding @markeharding marked as a Work In Progress 46 minutes ago

                marked as a Work In Progress

              • Mark Harding @markeharding added 1 commit 17 minutes 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 9 minutes ago

                changed the description

              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