From c69d635a4d3a31fca2735428df7bf1926d883168 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 24 Oct 2013 12:13:26 +0000 Subject: prevent proxy caching, add jquery to md5 --- itjs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'itjs.php') 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"); } -- cgit v1.2.3