Skip to content
Snippets Groups Projects

Reduces bundle size by 37%

Merged Mark Harding requested to merge chore/reduce-bundle-size into master

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 by Mark Harding

Merge request reports

Checking pipeline status.

Approved by

Merged by Xander MillerXander Miller 5 years ago (Feb 18, 2020 3:59pm UTC)

Merge details

  • Changes merged into master with 18d19ab7.
  • Deleted the source branch.

Pipeline #118976084 passed with warnings

Pipeline passed with warnings for 18d19ab7 on master

5 environments impacted.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading