.htaccess – do not cache under maintance
Here is a cool piece of code, that lets you control weather your browser should cache or not, using your hosted .htaccess file.
The code tells your webserver not to cahche content, which can be very helpfull with tangible php-systems fx or under maintance. After maintance, I advice you to outcomment/remove the code again.
The code should be applied to the .htaccess file – whereever you want.
<IfModule mod_rewrite.c> RewriteEngine On RewriteRule (.*) - [L,E=Cache-Control:no-cache] </IfModule>
Hope you can use it.