From 31e1d91cff10e255a719177226f2c353dc57e860 Mon Sep 17 00:00:00 2001 From: Thijs Stobbelaar Date: Mon, 2 Oct 2023 12:14:52 +0200 Subject: [PATCH] header no caching --- .htaccess | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index fd2af8f..5a1273e 100644 --- a/.htaccess +++ b/.htaccess @@ -5,4 +5,10 @@ RewriteCond %{REQUEST_FILENAME} !-d # Check if appending .php points to an existing file RewriteCond %{REQUEST_FILENAME}\.php -f # Rewrite the neat URL to its .php counterpart -RewriteRule ^(.*)$ $1.php [L] \ No newline at end of file +RewriteRule ^(.*)$ $1.php [L] + + + Header set Cache-Control "no-cache, no-store, must-revalidate" + Header set Pragma "no-cache" + Header set Expires "0" +