summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2011-11-18 23:08:10 +0200
committerVille Skyttä <ville.skytta@iki.fi>2011-11-18 23:08:15 +0200
commitcba90e70de5a4a297ccd8c8fd2e42ab577f51027 (patch)
tree1951ae6605aef875278508038e5c7db279bd1e07
parente6e65cbdc2b47fcfcb650d5225b2902649f29e0b (diff)
downloadvdradmin-am-cba90e70de5a4a297ccd8c8fd2e42ab577f51027.tar.gz
vdradmin-am-cba90e70de5a4a297ccd8c8fd2e42ab577f51027.tar.bz2
Set Cache-Control: public for static resources.
-rwxr-xr-xvdradmind.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/vdradmind.pl b/vdradmind.pl
index d08c403..3f57e25 100755
--- a/vdradmind.pl
+++ b/vdradmind.pl
@@ -1448,7 +1448,7 @@ sub header {
. "Expires: Thu, 01 Jan 1970 00:00:00 GMT" . CRLF;
} else {
$response .= "Expires: " . time2str($now + 3600) . CRLF
- . "Cache-Control: max-age=3600" . CRLF;
+ . "Cache-Control: public, max-age=3600" . CRLF;
}
if ($lastmod) {
$lastmod = $now if ($lastmod > $now); # HTTP 1.1, 14.29