diff options
author | Urban Müller | 2014-11-13 01:22:53 +0100 |
---|---|---|
committer | Urban Müller | 2014-11-13 01:22:53 +0100 |
commit | 1c2b0423cd2c692f2596b60d7fb3645b72f5d0d4 (patch) | |
tree | 730d3623f55e3a428f8741c60c5a7f03049d14c3 | |
parent | 36ef5ac2f948ad9fba76ced08dde803ebe984ffe (diff) | |
download | itools-1c2b0423cd2c692f2596b60d7fb3645b72f5d0d4.tar.gz itools-1c2b0423cd2c692f2596b60d7fb3645b72f5d0d4.tar.bz2 itools-1c2b0423cd2c692f2596b60d7fb3645b72f5d0d4.zip |
reenable http 304
-rw-r--r-- | itjs.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,7 +25,7 @@ if (EDC('slow' . it::match('\.(\w+)$', $_SERVER['PHP_SELF']))) sleep(10); $crc = $_REQUEST['c'] ?: $_REQUEST['s']; -if (false && $crc != "-" && !$_SERVER['HTTP_CACHE_CONTROL'] && $_SERVER['HTTP_IF_NONE_MATCH'] && !it::is_devel() && !$_REQUEST['retry']) +if ($crc != "-" && !$_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; |