From 32a2a648a65302e09a03fa8c84d22dc687c9c52e Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Wed, 3 Sep 2014 18:54:07 +0200 Subject: send 304s on twin as well --- itjs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itjs.php b/itjs.php index 0239989..90b27fc 100644 --- a/itjs.php +++ b/itjs.php @@ -24,7 +24,7 @@ require "itools/itools.lib"; if (EDC('slowjs')) sleep(20); -if ($_SERVER['HTTP_IF_NONE_MATCH'] && it::is_live() && !$_REQUEST['retry']) { +if ($_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