Why it matters
Minification usually trims 10–30% from file size. Small on its own, but it adds up across every file on every page.
How to fix it in WordPress
- Enable CSS and JavaScript minification in your optimization plugin.
- If the flagged files come from a third party, minification won't apply — consider delaying those scripts instead.
- Clear your cache and check the site visually.
Plugin-specific steps
Already using one of these plugins? Follow the exact steps for your setup.
Perfmatters
- 1Go to Settings → Perfmatters → Assets.
- 2Under JavaScript, toggle on 'Minify JavaScript'. Under CSS, toggle on 'Minify CSS'.
- 3Save and clear your cache.
WP Rocket
- 1Go to Settings → WP Rocket → File Optimization.
- 2Check 'Minify CSS files' and 'Minify JavaScript files'.
- 3Save changes.
LiteSpeed Cache
- 1Go to LiteSpeed Cache → Page Optimization.
- 2Turn on 'CSS Minify' (CSS Settings tab) and 'JS Minify' (JS Settings tab).
- 3Save and purge all caches.
Autoptimize
- 1Go to Settings → Autoptimize → JS, CSS & HTML.
- 2Check 'Optimize JavaScript Code' and 'Optimize CSS Code'.
- 3Save changes and empty the cache.
How to verify the fix
- Open one of the flagged files in a new tab — it should be a single dense line of code.