Scripts and stylesheets are not minified
NoticeQuick fix
A fifth or more of these CSS or JavaScript files consists of comments, indentation and blank lines.
Why it matters
Browsers do not need any of it, but download and parse it all the same. Minifying is a build step that changes nothing about how the code works.
How to fix it
- 1
Switch on minification in your build tool, CMS or caching plugin.
- 2
For files from a library, load the version whose name ends in .min.js or .min.css.
- How serious is it?
- Notice
- Opportunities and things to keep an eye on.
- How much work is it?
- Quick fix
- Usually minutes of work.
Further reading: web.dev: Minify and compress network payloads
Does your site have this issue?
Check a page for free, or create an account to test your whole website.