diff --git a/.htaccess b/.htaccess index 6644ce04548f120995bca67238aeb590de09c519..06e54afbe4be5f269c9cf7f74d97fd6d814001b3 100644 --- a/.htaccess +++ b/.htaccess @@ -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 diff --git a/core/assets/scaffold/files/htaccess b/core/assets/scaffold/files/htaccess index 6644ce04548f120995bca67238aeb590de09c519..06e54afbe4be5f269c9cf7f74d97fd6d814001b3 100644 --- a/core/assets/scaffold/files/htaccess +++ b/core/assets/scaffold/files/htaccess @@ -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