Filenames containing -min or .min are not minified, as the filename suggests they have been minified already.
All files output from a build are hosted on our CDN. Assets referenced in the HTML and CSS are rewritten to include a unique hash in the URL, which will be seen as
?cchid=abfc7a.... This hash allows files that haven't changed between subsequent builds of your site to remain in the cache, while all other files are purged.
Optimizations are on by default, to toggle optimizations for your site:
- Go to the Site Settings / Compressor section
- Toggle Minify and serve assets from CDN
- Click Update Build Details
To turn off optimizations on individual elements, add the
.cms-no-rewrite class to the element.
The element will not have the URL changed to append the
cchid, but will have reduced cache performance.