3.46
Minified CSS and JavaScript
Official text (as TDRA published it)
Are you minifying your rendered CSS and JavaScript for a production environment?
Why it matters to your customers
Unminified CSS and JavaScript are heavier than they need to be, using up customers' mobile data and slowing the page on a weak signal. Someone on a patchy connection may wait, then give up on the service.
How to fix it
Turn on minification for CSS and JavaScript in your production build, then scan again.
How we measure it
We read the CSS and JavaScript responses and check they are minified.
The official guideline for this item