update cache settings for blog-related sites
Web/pipeline/head This commit looks good Details

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
<FilesMatch "index\.html">
Header edit Cache-Control ^max-age=\w* max-age=600
</FilesMatch>
Options +MultiViews -Indexes
ErrorDocument 404 /404.html

View File

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