diff options
author | Urban Müller | 2014-09-03 18:54:07 +0200 |
---|---|---|
committer | Urban Müller | 2014-09-03 18:54:07 +0200 |
commit | 32a2a648a65302e09a03fa8c84d22dc687c9c52e (patch) | |
tree | 6de9ad479fa89b6daac06a5702a5c750746413ed | |
parent | 93ab9ba16c73c721f5a4bc2b97ea3dcc66345788 (diff) | |
download | itools-32a2a648a65302e09a03fa8c84d22dc687c9c52e.tar.gz itools-32a2a648a65302e09a03fa8c84d22dc687c9c52e.tar.bz2 itools-32a2a648a65302e09a03fa8c84d22dc687c9c52e.zip |
send 304s on twin as well
-rw-r--r-- | itjs.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |