Available with CloudCannon hosting.
Filenames containing -min or .min are not minified, as the filename suggests they have been minified already.
Optimisations are on by default, to toggle optimisations for your site:
- Go to the Site Settings / Build section
- Toggle Minify and serve assets from CDN
- Click Update Build Details
To turn off optimisations on individual elements, add the
.cms-no-rewrite class to the element.
<a href="/newsletters/january-summary.pdf" class="cms-no-rewrite">Download Latest Newsletter</a>
The reference on the element remains the same, pointing to the unoptimised version.