While not as tasty as breaking apart one of Peichi’s baguettes, once in a while, you actually want to disable browser cache functionality.
In a recent project, the TYPO3 performance optimizations went very well, dropping page load times by over 50%. However, since Apache’s mod_expires and mod_headers adjustments were made at top the top level of the website file structure, some applications in sub-directories appeared to have become broken. The reality was, the browser cache was showing us old page states.
The fix…
Turn Off Browser Caching with .htaccess
<IfModule mod_expires.c> ExpiresActive off </IfModule> <IfModule mod_headers.c> Header unset Cache-Control </IfModule>
It’s possible for your browser cache busting, that only Header unset Cache-Control
is needed. For ours, CSS, JavaScript and even images could’ve changed, hence; ExpiresActive off
.