HTML files are minified dynamically by removing comments and unnecessary empty lines only. It does not require files to be cached. CSS and JS minification operates on cached CSS and JS files only. Once Cloudflare returns a cache
HIT for the file it will be returned to browsers in minified form. This allows us to deliver a more complete minification result. If you need to enable or disable minification for CSS and JS files, you need to .
Enable Auto Minify
To enable Auto Minify on your website:
- Log into the .
- Select your account and website.
- Go to Speed > Optimization > Content Optimization.
- For Auto Minify, select the file types to minify.