JO-064
HTML, CSS, JavaScript and fonts are minified and combined.
The requirement (from the 2022 Guidelines)
HTML, CSS, JavaScript and fonts are minified and combined.
Why it matters to users
Every separate stylesheet or script is another round trip to the server, and whitespace and comments inflate what has to download. A phone user pays in time and data for code they never see, and reaches the service later.
How to fix it
Add a minification step for HTML, CSS and JavaScript to your build, bundle scattered small files into fewer ones, and ship only the font files and weights you actually use. Then scan again.
How we measure it
Minification heuristic on the site's own CSS/JS files, each counted once; HTML minification and combining are not measured. Partly measured: we measure what the public pages show of this rule; the rest needs a review.
Its place in the MODEE guidelines