htaccess: set max-age for plp to a day
[sheet.git] / common.inc.plp
index 9c5ae74fff60eb77469c6026a2e3654a651f1cff..1e3f30a9dd38d97586b78b88b3c071b48d9d2a32 100644 (file)
@@ -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'];