summaryrefslogtreecommitdiff
path: root/itjs.php
diff options
context:
space:
mode:
authorUrban Müller2013-10-24 12:13:26 +0000
committerUrban Müller2013-10-24 12:13:26 +0000
commitc69d635a4d3a31fca2735428df7bf1926d883168 (patch)
treecd4bacf35614510026d6a070d169a30cebe2e62a /itjs.php
parent47cdae9bdf926e856a328a4657f6f6691b9d34b2 (diff)
downloaditools-c69d635a4d3a31fca2735428df7bf1926d883168.tar.gz
itools-c69d635a4d3a31fca2735428df7bf1926d883168.tar.bz2
itools-c69d635a4d3a31fca2735428df7bf1926d883168.zip
prevent proxy caching, add jquery to md5
Diffstat (limited to 'itjs.php')
-rw-r--r--itjs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/itjs.php b/itjs.php
index 90c9252..de98114 100644
--- a/itjs.php
+++ b/itjs.php
@@ -62,7 +62,7 @@ else if (!it::match('\.html$', $file))
if (!preg_match('/Opera/', $_SERVER['HTTP_USER_AGENT']) && it::is_live() && !$_REQUEST['retry'])
{
- header("Cache-Control: max-age=604800");
+ header("Cache-Control: max-age=604800, private"); # proxies should not cache since contents of same url can differ between browsers
header("Expires: " . gmdate("D, d M Y H:i:s", time()+604800). " GMT");
}