diff options
author | Urban Müller | 2013-10-24 12:13:26 +0000 |
---|---|---|
committer | Urban Müller | 2013-10-24 12:13:26 +0000 |
commit | c69d635a4d3a31fca2735428df7bf1926d883168 (patch) | |
tree | cd4bacf35614510026d6a070d169a30cebe2e62a /itjs.php | |
parent | 47cdae9bdf926e856a328a4657f6f6691b9d34b2 (diff) | |
download | itools-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.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); } |