diff --git a/.htaccess b/.htaccess index 50b183ce2..baa2bb16d 100644 --- a/.htaccess +++ b/.htaccess @@ -43,6 +43,17 @@ RewriteRule /?(README\.md|composer\.json-dist|composer\.json|package\.xml|Docker SetOutputFilter DEFLATE + +ExpiresActive On +ExpiresDefault "access plus 1 month" + + +FileETag MTime Size + + +Options -Indexes + + # replace 'append' with 'merge' for Apache version 2.2.9 and later #Header append Cache-Control public env=!NO_CACHE @@ -76,14 +87,3 @@ SetOutputFilter DEFLATE # more flags for script, stylesheets and images available, read RFC for more information #Header set Content-Security-Policy "referrer no-referrer" - - -ExpiresActive On -ExpiresDefault "access plus 1 month" - - -FileETag MTime Size - - -Options -Indexes -