header no caching
This commit is contained in:
parent
614d91cd12
commit
31e1d91cff
1 changed files with 7 additions and 1 deletions
|
|
@ -6,3 +6,9 @@ RewriteCond %{REQUEST_FILENAME} !-d
|
|||
RewriteCond %{REQUEST_FILENAME}\.php -f
|
||||
# Rewrite the neat URL to its .php counterpart
|
||||
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