Review current build output
We check whether CSS and JS are already minified, whether source maps exist for debugging, and whether any files are served unminified by mistake.
- Check minification status
- Verify source maps
- Find unminified files
Website delivery
Minification removes unnecessary characters from CSS and JavaScript files without changing how they work. Combined with compression and caching, it reduces file size and improves load time.
We check whether CSS and JS are already minified, whether source maps exist for debugging, and whether any files are served unminified by mistake.
For sites with a build step, we ensure minification is enabled and configured correctly. For sites without a build, we may add a build step or use server-side minification.
Minification works best with gzip or Brotli compression and long-term caching headers. We verify both are active for static assets.
Minification can rarely break code that relies on specific formatting. We test key pages and interactions in staging before release.
Proper minification does not change behaviour. We test thoroughly to catch any edge cases.
A build process is the standard way. If your site does not have one, server-side minification can be an alternative.
CSS and JS often shrink by 20–40% after minification, more with compression.
Primary references