From: Mischa POSLAWSKY Date: Wed, 5 Jun 2013 22:04:23 +0000 (+0200) Subject: htaccess: set max-age for includes to a month X-Git-Tag: v1.6~88 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/62567fdd1b000f710e872793a414f6634b02eeb8 htaccess: set max-age for includes to a month Encourage more caching for static css and javascript. --- 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" + + +