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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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
+2 −2
Original line number Diff line number Diff line
@@ -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