X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/560ad76852eb76efaa7ad860dc03bd9980667345..87cefe5b2565b86fdfb3404b4ed9c180282f0272:/common.inc.plp diff --git a/common.inc.plp b/common.inc.plp index 02821bb..b1cf2d1 100644 --- a/common.inc.plp +++ b/common.inc.plp @@ -70,7 +70,7 @@ sub stylesheet { return map { sprintf( '', - $_ eq $style ? 'stylesheet' : 'alternate stylesheet', "/$_.css?1.9", $_ + $_ eq $style ? 'stylesheet' : 'alternate stylesheet', "/$_.css?1.10", $_ ) } @avail; } @@ -101,7 +101,7 @@ sub Html { (grep { /\bShiar_/ } values %INC), $meta->{data} ? @{ $meta->{data} } : (), ); - $header{'Cache-Control'} = sprintf 'max-age: ', 24*60*60; + $header{'Cache-Control'} = 'max-age='.(24*60*60); } # default fallbacks