summaryrefslogtreecommitdiff
path: root/lib/exe/fetch.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2013-03-03 20:08:57 +0100
committerAndreas Gohr <andi@splitbrain.org>2013-03-03 20:08:57 +0100
commita6c362b61d32c897d430e72356b4efe5a399c0ac (patch)
treeb32d805e7a642833b6ad839178a5c1e54185209b /lib/exe/fetch.php
parent3b6f95e62fc7049712b96aacd245be507f83d5ee (diff)
downloadrpg-a6c362b61d32c897d430e72356b4efe5a399c0ac.tar.gz
rpg-a6c362b61d32c897d430e72356b4efe5a399c0ac.tar.bz2
max-age not allowed with no-cache
Diffstat (limited to 'lib/exe/fetch.php')
-rw-r--r--lib/exe/fetch.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exe/fetch.php b/lib/exe/fetch.php
index 8b77fa0b2..b9270d277 100644
--- a/lib/exe/fetch.php
+++ b/lib/exe/fetch.php
@@ -141,7 +141,7 @@ function sendFile($file, $mime, $dl, $cache, $public = false) {
} else {
// no cache at all
header('Expires: Thu, 01 Jan 1970 00:00:00 GMT');
- header('Cache-Control: no-cache, no-transform, max-age=0');
+ header('Cache-Control: no-cache, no-transform');
header('Pragma: no-cache');
}