Issue #3311406 by Anybody, Grevil, nod_: .htaccess ExpiresDefault (2W) is much too low. Should be ~1Y

merge-requests/882/head^2
Alex Pott 2023-03-21 11:59:13 +00:00
parent 16da1ce85b
commit 67357a32f4
No known key found for this signature in database
GPG Key ID: BDA67E7EE836E5CE
2 changed files with 4 additions and 4 deletions

View File

@ -35,8 +35,8 @@ AddEncoding gzip svgz
# Enable expirations.
ExpiresActive On
# Cache all files and redirects for 2 weeks after access (A).
ExpiresDefault A1209600
# Cache all files for 1 year after access.
ExpiresDefault "access plus 1 year"
<FilesMatch \.php$>
# Do not allow PHP scripts to be cached unless they explicitly send cache

View File

@ -35,8 +35,8 @@ AddEncoding gzip svgz
# Enable expirations.
ExpiresActive On
# Cache all files and redirects for 2 weeks after access (A).
ExpiresDefault A1209600
# Cache all files for 1 year after access.
ExpiresDefault "access plus 1 year"
<FilesMatch \.php$>
# Do not allow PHP scripts to be cached unless they explicitly send cache