Skip to content
Snippets Groups Projects
Verified Commit 67357a32 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3311406 by Anybody, Grevil, nod_: .htaccess ExpiresDefault (2W) is much...

Issue #3311406 by Anybody, Grevil, nod_: .htaccess ExpiresDefault (2W) is much too low. Should be ~1Y
parent 16da1ce8
No related branches found
No related tags found
No related merge requests found
...@@ -35,8 +35,8 @@ AddEncoding gzip svgz ...@@ -35,8 +35,8 @@ AddEncoding gzip svgz
# Enable expirations. # Enable expirations.
ExpiresActive On ExpiresActive On
# Cache all files and redirects for 2 weeks after access (A). # Cache all files for 1 year after access.
ExpiresDefault A1209600 ExpiresDefault "access plus 1 year"
<FilesMatch \.php$> <FilesMatch \.php$>
# Do not allow PHP scripts to be cached unless they explicitly send cache # Do not allow PHP scripts to be cached unless they explicitly send cache
......
...@@ -35,8 +35,8 @@ AddEncoding gzip svgz ...@@ -35,8 +35,8 @@ AddEncoding gzip svgz
# Enable expirations. # Enable expirations.
ExpiresActive On ExpiresActive On
# Cache all files and redirects for 2 weeks after access (A). # Cache all files for 1 year after access.
ExpiresDefault A1209600 ExpiresDefault "access plus 1 year"
<FilesMatch \.php$> <FilesMatch \.php$>
# Do not allow PHP scripts to be cached unless they explicitly send cache # Do not allow PHP scripts to be cached unless they explicitly send cache
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment