Skip to content
Snippets Groups Projects
Commit 3b6f95e6 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

adjusted cache=0 headers again

parent 1c7d84be
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment