In short
Semrush flags "Issues with unminified JavaScript and CSS files" when your site's JS or CSS files still contain whitespace, comments and long names that browsers don't need. Minified files download faster. Turn on minification in your platform or build tool. Files from third parties are outside your control; replace or remove them if they're heavy.
Minifying is one of the easiest speed wins: it changes nothing visible, only file size.
How to fix it
WordPress: caching plugins (LiteSpeed Cache, WP Rocket, Autoptimize, W3 Total Cache) minify CSS and JS. Test the site after turning it on, since some scripts break when combined.
Shopify: theme assets are served compressed by Shopify; flagged files usually come from apps or custom uploads. Minify custom files before uploading.
Webflow: Site settings > Publishing > Advanced publishing options > minify HTML, CSS and JS.
Wix: handled by the platform; flagged files are usually from embedded third-party code.
Custom builds: production builds with Vite, webpack or esbuild minify by default. Make sure the server serves the build output, not source files.
Common mistakes
Minifying and never testing. Check forms, menus and sliders after enabling it.
Spending time on third-party files you can't change.
This guide isn't affiliated with or endorsed by Semrush.
Related issues
Sources and references
Semrush Knowledge Base, What Issues Can Site Audit Identify?
web.dev, Minify CSS

About the author
Nazmul Nikhil
Head of SEO & Assistant Manager, Digital Marketing at Notionhive
SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.



