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

there's no pragma: private

parent a6c362b6
No related branches found
No related tags found
No related merge requests found
......@@ -136,7 +136,7 @@ function sendFile($file, $mime, $dl, $cache, $public = false) {
// cache in browser
header('Expires: '.gmdate("D, d M Y H:i:s", $expires).' GMT');
header('Cache-Control: private, no-transform, max-age='.$maxage);
header('Pragma: private');
header('Pragma: no-cache');
}
} else {
// no cache at all
......
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