From 0707c0c0153953ba7324764225e4e7b0ac36602f Mon Sep 17 00:00:00 2001 From: Sebastian Molenda Date: Thu, 21 May 2026 22:14:33 +0200 Subject: [PATCH] no cache --- .htaccess | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.htaccess b/.htaccess index 225396d..c30d750 100644 --- a/.htaccess +++ b/.htaccess @@ -19,19 +19,14 @@ DirectoryIndex index.html # Optional: small caching hints for static assets ExpiresActive On - ExpiresByType text/css "access plus 1 week" - # Keep JS cache short during development to avoid stale scripts on mobile - ExpiresByType application/javascript "access plus 60 seconds" ExpiresByType image/* "access plus 1 week" - # Add Cache-Control headers for more precise control - - Header set Cache-Control "max-age=60, public" - - - Header set Cache-Control "max-age=604800, public" + # No caching for app files — always fetch fresh + + Header set Cache-Control "no-store, no-cache, must-revalidate" + Header set Pragma "no-cache" Header set Cache-Control "max-age=604800, public"