header no caching
This commit is contained in:
parent
614d91cd12
commit
31e1d91cff
1 changed files with 7 additions and 1 deletions
|
|
@ -5,4 +5,10 @@ RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
# Check if appending .php points to an existing file
|
# Check if appending .php points to an existing file
|
||||||
RewriteCond %{REQUEST_FILENAME}\.php -f
|
RewriteCond %{REQUEST_FILENAME}\.php -f
|
||||||
# Rewrite the neat URL to its .php counterpart
|
# Rewrite the neat URL to its .php counterpart
|
||||||
RewriteRule ^(.*)$ $1.php [L]
|
RewriteRule ^(.*)$ $1.php [L]
|
||||||
|
|
||||||
|
<IfModule mod_headers.c>
|
||||||
|
Header set Cache-Control "no-cache, no-store, must-revalidate"
|
||||||
|
Header set Pragma "no-cache"
|
||||||
|
Header set Expires "0"
|
||||||
|
</IfModule>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue