Ever find yourself explaining to a client (for the umpteenth time) how to press F5 so they can see the changes you just made to their site? If you’re being responsible in terms of performance by setting far-future expiry dates on your site assets, clearing the cache is often necessary to pick up minor tweaks to CSS or JavaScript - but rather than deal with yet another email from a confused client, wondering why their site layout is broken, I thought I’d find a way to automate this step.
The Cachebuster extension needs a hack to the EE core files to add a pre-rendering hook, so if you’re at all precious about hacking, look away now. 😉
Full instructions can be found on my blog article or on GitHub, where you can also download the extension files.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.