Disable cache with .htaccess

Disable cache with .htaccess

Simple cache removal through .htaccess:

<IfModule mod_headers.c>
    Header set Cache-Control "no-cache, no-store, must-revalidate"
    Header set Pragma "no-cache"
    Header set Expires 0
</IfModule>

Handy when you want to make sure that a user will always load new files from the server. Will of course also make the initial load of the site slower, so use only when necessary.