improved htaccess expiry syntax
All checks were successful
Web/pipeline/head This commit looks good

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

View file

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