summaryrefslogtreecommitdiff
path: root/itjs.php
diff options
context:
space:
mode:
authorChristian Schneider2014-09-24 14:12:25 +0200
committerChristian Schneider2014-09-24 14:12:25 +0200
commit78450f6e2ecf1df7dc4defe8dd954e53e492e786 (patch)
tree38a0718002a5ca2e456efcd339ea2a85734c048e /itjs.php
parent9710e03e57e012cad6a466945fec95383f1d32da (diff)
downloaditools-78450f6e2ecf1df7dc4defe8dd954e53e492e786.tar.gz
itools-78450f6e2ecf1df7dc4defe8dd954e53e492e786.tar.bz2
itools-78450f6e2ecf1df7dc4defe8dd954e53e492e786.zip
Disable 304 for itjs to see if it fixes apps which are in a broken state (iOS)
Diffstat (limited to 'itjs.php')
-rw-r--r--itjs.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/itjs.php b/itjs.php
index 90b27fc..8f7f674 100644
--- a/itjs.php
+++ b/itjs.php
@@ -24,7 +24,8 @@ require "itools/itools.lib";
if (EDC('slowjs'))
sleep(20);
-if ($_SERVER['HTTP_IF_NONE_MATCH'] && !it::is_devel() && !$_REQUEST['retry']) {
+if (false && $_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;
}