From: Mischa POSLAWSKY Date: Wed, 17 Jul 2013 21:33:24 +0000 (+0200) Subject: htaccess: set max-age for plp to a day X-Git-Tag: v1.6~87 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/423d297ed8c97ba5dff7c79e48d9ee3bab609cd1 htaccess: set max-age for plp to a day --- diff --git a/common.inc.plp b/common.inc.plp index 9c5ae74..1e3f30a 100644 --- a/common.inc.plp +++ b/common.inc.plp @@ -64,6 +64,7 @@ sub Html { (grep { /\bShiar_/ } values %INC), $meta->{data} ? @{ $meta->{data} } : (), ); + $header{'Cache-Control'} = sprintf 'max-age: ', 24*60*60; # default fallbacks $meta->{stylesheet} ||= [qw'light dark circus mono red terse'];