You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Short of completing differential loading there are probably still some improvements we could make to how our polyfills are being loaded, as per Lighthouse by minifying files.
Details
Currently these two polyfills account for 80KB, which is a lot.
Also, doesn't look like our JavaScript bundling is minifying files either (by default)? Maybe we should go with TerserPlugin instead? Also, should we be trying to optimize CSS as well?
thescientist13
changed the title
improve loading performance of polyfills through minification
loading performance impacted due to lack of minification
Aug 19, 2019
thescientist13
changed the title
loading performance impacted due to lack of minification
loading performance impacted due to lack of polyfills minification
Sep 18, 2019
Type of Change
Summary
Short of completing differential loading there are probably still some improvements we could make to how our polyfills are being loaded, as per Lighthouse by minifying files.
Details
Currently these two polyfills account for 80KB, which is a lot.
For example, the minified version of polyfills.js is
213KB
!!! (vs50.2KB
)Should see the same for web-components-bundle.js.
Also, we should probably add some unit tests for this in our smoke test.
The text was updated successfully, but these errors were encountered: