We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b2595c commit 065de51Copy full SHA for 065de51
1 file changed
public/.htaccess
@@ -5,9 +5,11 @@ RewriteEngine On
5
# Cache control: short cache for HTML, long for hashed assets
6
# ------------------------------------
7
<IfModule mod_headers.c>
8
- # HTML: cache for 1 hour, revalidate after
+ # HTML: no cache, always fetch fresh
9
<FilesMatch "\.html$">
10
- Header set Cache-Control "public, max-age=3600, must-revalidate"
+ Header set Cache-Control "no-cache, no-store, must-revalidate"
11
+ Header set Pragma "no-cache"
12
+ Header set Expires "0"
13
</FilesMatch>
14
15
# Hashed assets (JS, CSS, images): cache for 1 year
0 commit comments