header no caching

This commit is contained in:
Lanta 2023-10-02 12:14:52 +02:00
parent 0fbc98c3ca
commit 6b237a95aa

View file

@ -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>