summaryrefslogtreecommitdiff
path: root/itjs.php
diff options
context:
space:
mode:
authorUrban Müller2014-09-03 18:54:07 +0200
committerUrban Müller2014-09-03 18:54:07 +0200
commit32a2a648a65302e09a03fa8c84d22dc687c9c52e (patch)
tree6de9ad479fa89b6daac06a5702a5c750746413ed /itjs.php
parent93ab9ba16c73c721f5a4bc2b97ea3dcc66345788 (diff)
downloaditools-32a2a648a65302e09a03fa8c84d22dc687c9c52e.tar.gz
itools-32a2a648a65302e09a03fa8c84d22dc687c9c52e.tar.bz2
itools-32a2a648a65302e09a03fa8c84d22dc687c9c52e.zip
send 304s on twin as well
Diffstat (limited to 'itjs.php')
-rw-r--r--itjs.php2
1 files changed, 1 insertions, 1 deletions
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;
}