From 62567fdd1b000f710e872793a414f6634b02eeb8 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Thu, 6 Jun 2013 00:04:23 +0200 Subject: [PATCH] htaccess: set max-age for includes to a month Encourage more caching for static css and javascript. --- .htaccess | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.htaccess b/.htaccess index b891dff..5ca2ce7 100644 --- a/.htaccess +++ b/.htaccess @@ -25,3 +25,10 @@ RewriteRule ^/*([^/]+)(.*) $1.plp$2 AddOutputFilterByType DEFLATE text/html +# allow browsers to cache for upto a month + + +Header set Cache-Control "max-age=2592000" + + + -- 2.30.0