Skip to content

Commit

Permalink
Fix htaccess Cache-Control header
Browse files Browse the repository at this point in the history
  • Loading branch information
ohrie committed Sep 29, 2023
1 parent c8331ea commit 9d1840a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ AddOutputFilterByType DEFLATE application/x-javascript
Header set Cache-Control "public, max-age=31536000, immutable"
</FilesMatch>
<FilesMatch "\.(js|css)$">
Header set Cache-Control "cache-control: public, max-age=31536000, immutable"
Header set Cache-Control "public, max-age=31536000, immutable"
</FilesMatch>
<FilesMatch "\.(html|json)$">
Header set Cache-Control "public, max-age=0, must-revalidate"
Expand Down

0 comments on commit 9d1840a

Please sign in to comment.