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"