From acb0851e32c9a4d3a0ae3c250e3e65fde86c9620 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Fri, 26 Sep 2014 11:33:23 +0200 Subject: Disable 304 for itjs until we have a solution for iOS caching bugs --- itjs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'itjs.php') diff --git a/itjs.php b/itjs.php index d386e00..4bcacbe 100644 --- a/itjs.php +++ b/itjs.php @@ -24,7 +24,7 @@ require "itools/itools.lib"; if (EDC('slow' . it::match('\.(\w+)$', $_SERVER['PHP_SELF']))) sleep(10); -if ($_COOKIE['myosotis'] == "1e62eaae5ea2a89a34fb674e77a10190" && $_SERVER['HTTP_IF_NONE_MATCH'] && !it::is_devel() && !$_REQUEST['retry']) # Currently only for cschneid +if (false && !$_SERVER['HTTP_CACHE_CONTROL'] && $_SERVER['HTTP_IF_NONE_MATCH'] && !it::is_devel() && !$_REQUEST['retry']) { header("HTTP/1.0 304 Not Modified"); # client should always keep the component that fits the page it has exit; -- cgit v1.2.3