We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9d06d5 commit 7b2321eCopy full SHA for 7b2321e
.htaccess
@@ -34,12 +34,18 @@
34
35
<IfModule mod_expires.c>
36
ExpiresActive On
37
- <FilesMatch "([0-9a-f]{32}|\.(gif|jpe?g|png|webp|css|js))$">
+ <FilesMatch "([0-9a-f]{32}|\.(gif|jpe?g|png|webp))$">
38
<IfModule mod_headers.c>
39
Header set Cache-Control "public, max-age=2629743"
40
</IfModule>
41
ExpiresDefault "access plus 1 month"
42
</FilesMatch>
43
+ <FilesMatch "\.(css|js)$">
44
+ <IfModule mod_headers.c>
45
+ Header set Cache-Control "public, max-age=86400"
46
+ </IfModule>
47
+ ExpiresDefault "access plus 1 day"
48
+ </FilesMatch>
49
#ExpiresByType text/html "now"
50
#ExpiresByType text/plain "now"
51
0 commit comments