summaryrefslogtreecommitdiff
path: root/itjs.php
diff options
context:
space:
mode:
authorUrban Müller2014-11-13 01:22:53 +0100
committerUrban Müller2014-11-13 01:22:53 +0100
commit1c2b0423cd2c692f2596b60d7fb3645b72f5d0d4 (patch)
tree730d3623f55e3a428f8741c60c5a7f03049d14c3 /itjs.php
parent36ef5ac2f948ad9fba76ced08dde803ebe984ffe (diff)
downloaditools-1c2b0423cd2c692f2596b60d7fb3645b72f5d0d4.tar.gz
itools-1c2b0423cd2c692f2596b60d7fb3645b72f5d0d4.tar.bz2
itools-1c2b0423cd2c692f2596b60d7fb3645b72f5d0d4.zip
reenable http 304
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 37028a5..6c8113d 100644
--- a/itjs.php
+++ b/itjs.php
@@ -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;