summaryrefslogtreecommitdiff
path: root/itjs.php
diff options
context:
space:
mode:
authorChristian Schneider2014-09-26 11:33:23 +0200
committerChristian Schneider2014-09-26 11:33:23 +0200
commitacb0851e32c9a4d3a0ae3c250e3e65fde86c9620 (patch)
treec510f27cbeb32564e84f377bc24b4a5ffb9f14a2 /itjs.php
parent2b0b108bbbd32f8e371db7577265074f5a9c7b3c (diff)
downloaditools-acb0851e32c9a4d3a0ae3c250e3e65fde86c9620.tar.gz
itools-acb0851e32c9a4d3a0ae3c250e3e65fde86c9620.tar.bz2
itools-acb0851e32c9a4d3a0ae3c250e3e65fde86c9620.zip
Disable 304 for itjs until we have a solution for iOS caching bugs
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 d386e00..4bcacbe 100644
--- a/itjs.php
+++ b/itjs.php
@@ -24,7 +24,7 @@ require "itools/itools.lib";
if (EDC('slow' . it::match('\.(\w+)$', $_SERVER['PHP_SELF'])))
sleep(10);
-if ($_COOKIE['myosotis'] == "1e62eaae5ea2a89a34fb674e77a10190" && $_SERVER['HTTP_IF_NONE_MATCH'] && !it::is_devel() && !$_REQUEST['retry']) # Currently only for cschneid
+if (false && !$_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;