OverviewBack to top
- immediately bust your CDN Cache.
- immediately bust your visitors browser cache.
- admin panel buttons on Cache Management page to manually bust the cache.
- CLI commands to integrate Absolute CacheBust with your automated deployment.
Improvements over Magento 2 native 'Sign Static Files'
Magento 2 already has some functionality to bust cache for static files with the 'Sign Static Files' setting. The Absolute CacheBust extension provides this same functionality and more:
- Absolute CacheBust supports media cache busting, whereas the native functionality does not.
- the version value is stored in the Database rather than file, so better support for multiple servers.
- with Absolute CacheBust the URL Template can be changed from /version12345/ to something else.
- native Magento forces developer mode to always serve fresh content, which is not desirable.
- CLI commands are included with Absolute CacheBust for automated deployment cache busting.
How does it work?
After some basic Web Server configuration the URL of your assets will include a new dynamic portion, eg. http://absolutecommerce.co.uk/static/version12345/some-stylesheet.css.
If this segment becomes /version54321/, your visitors browser or the CDN will treat it as a brand new request that it does not have cached, so will be forced to download the latest version.
Need help or custom development?
If you need help with cache busting or some custom development work, please get in touch.
Release NotesBack to top
- Compatible with CE: 2.2
- Stability: Stable Build
v3.0.0 of https://github.com/AbsoluteCommerce/Magento2-CacheBust