Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • Sign in / Register
Minds Frontend
Minds Frontend
  • Project overview
  • Repository
  • Issues 403
  • Merge Requests 68
  • 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 1 day 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 1 day ago by Mark Harding
Request to merge chore/reduce-bundle-size into master
The source branch is 2 commits behind the target branch
Open in Web IDE
Pipeline #118311233 passed with warnings for 44c60f1e on chore/reduce-bundle-size
              Requires approval from QA. Approved by
              Brian Hatchet
              Juan Manuel Solaro Olivia Madrid Martin Santangelo Ben Hayward Rami Albatal
              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 1 day ago

                added scoped labels

              • Mark Harding @markeharding changed the description 1 day ago

                changed the description

              • Mark Harding @markeharding marked as a Work In Progress 1 day ago

                marked as a Work In Progress

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

                changed the description

              • Mark Harding @markeharding unmarked as a Work In Progress 1 day ago

                unmarked as a Work In Progress

              • Brian Hatchet :speech_balloon: @brianhatchet approved this merge request 18 hours ago

                approved this merge request

              • Mark Harding @markeharding added Status::Ready to Merge scoped label 8 minutes ago

                added scoped label

              • Mark Harding @markeharding assigned to @xander-miller 8 minutes ago

                assigned to @xander-miller

              Please register or sign in to reply
              Assignee
              Xander Miller's avatar
              Xander Miller @xander-miller
              None
              Milestone
              None
              Time tracking
              No estimate or time spent
              3
              Labels
              Priority::1 - High Status::Ready to Merge 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