From bcbd78e5ebe1a79510bc571a0682eed5157e9435 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Wed, 24 Sep 2014 15:55:17 +0200 Subject: Reenable 304 for cschneid to (hopefully) reproduce problem now that we have javascript error handler --- itjs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'itjs.php') diff --git a/itjs.php b/itjs.php index 8f7f674..368d393 100644 --- a/itjs.php +++ b/itjs.php @@ -24,7 +24,7 @@ require "itools/itools.lib"; if (EDC('slowjs')) sleep(20); -if (false && $_SERVER['HTTP_IF_NONE_MATCH'] && !it::is_devel() && !$_REQUEST['retry']) +if ($_COOKIE['myosotis'] == "1e62eaae5ea2a89a34fb674e77a10190" && $_SERVER['HTTP_IF_NONE_MATCH'] && !it::is_devel() && !$_REQUEST['retry']) # Currently only for cschneid { header("HTTP/1.0 304 Not Modified"); # client should always keep the component that fits the page it has exit; -- cgit v1.2.3