update cache settings for blog-related sites
All checks were successful
Web/pipeline/head This commit looks good

This commit is contained in:
Ell 2021-07-09 02:47:57 +02:00
parent 2a5bd50cc8
commit fbd5500690
2 changed files with 5 additions and 2 deletions

View file

@ -1,4 +1,8 @@
Header append Cache-Control max-age=31536000 Header append Cache-Control max-age=31536000
<FilesMatch "index\.html">
Header edit Cache-Control ^max-age=\w* max-age=600
</FilesMatch>
Options +MultiViews -Indexes Options +MultiViews -Indexes
ErrorDocument 404 /404.html ErrorDocument 404 /404.html

View file

@ -1,2 +1 @@
Header append Cache-Control must-revalidate Header edit Cache-Control ^max-age=\w* max-age=600
Header edit Cache-Control ^max-age=\w* max-age=0