summaryrefslogtreecommitdiff
path: root/lib/exe
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2013-03-03 20:03:57 +0100
committerAndreas Gohr <andi@splitbrain.org>2013-03-03 20:03:57 +0100
commit3b6f95e62fc7049712b96aacd245be507f83d5ee (patch)
tree95c1f79703974707deaf308d71a6e81621503c13 /lib/exe
parent1c7d84bee69b8965844a960fa91551634986b35f (diff)
downloadrpg-3b6f95e62fc7049712b96aacd245be507f83d5ee.tar.gz
rpg-3b6f95e62fc7049712b96aacd245be507f83d5ee.tar.bz2
adjusted cache=0 headers again
Diffstat (limited to 'lib/exe')
-rw-r--r--lib/exe/fetch.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/exe/fetch.php b/lib/exe/fetch.php
index 28401ab39..8b77fa0b2 100644
--- a/lib/exe/fetch.php
+++ b/lib/exe/fetch.php
@@ -141,8 +141,8 @@ 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: private, no-transform, max-age=0');
- header('Pragma: no-store');
+ header('Cache-Control: no-cache, no-transform, max-age=0');
+ header('Pragma: no-cache');
}
//send important headers first, script stops here if '304 Not Modified' response