Docs · Technical SEO
Code minification
Code is minified
What this check looks at
Optia samples the page's JavaScript and CSS resources and estimates whether they are minified.
Why it matters
Unminified assets ship comments, whitespace, and long identifiers the browser doesn't need. Minification routinely cuts 30–60% of transfer size, which speeds up parsing and improves the Core Web Vitals that feed ranking.
How to fix it
- Turn on minification in your bundler or framework's production build (Vite, webpack, Next.js do this by default).
- Make sure you're deploying the production build, not a development one.
- Enable gzip or Brotli compression on the server — it multiplies the gains.