Minimizes Main-Thread Work
How to reduce main-thread load
Some of the steps Google suggests to reduce these sizes and times include:
- Use code splitting to isolate the code that users need specifically
- Minify, compress and remove unused code
- Cache requests so that the page limits network trips on repeat visits. Using a PRPL Pattern can help here.