improved htaccess expiry syntax
Web/pipeline/head This commit looks good Details

This commit is contained in:
Ell 2021-07-15 05:25:49 +02:00
parent 2e852055d3
commit 62775ebdfd
2 changed files with 3 additions and 5 deletions

View File

@ -1,7 +1,6 @@
Header append Cache-Control max-age=31536000
<FilesMatch "index\.html">
Header edit Cache-Control ^max-age=\w* max-age=600
</FilesMatch>
ExpiresActive On
ExpiresDefault A31536000
ExpiresByType text/html A600
Options +MultiViews -Indexes
ErrorDocument 404 /404.html

View File

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