summaryrefslogtreecommitdiff
path: root/itjs.php
diff options
context:
space:
mode:
authorUrban Müller2014-09-25 18:49:45 +0200
committerUrban Müller2014-09-25 18:49:45 +0200
commitafb7404d015a9c21b2b6b1a785830a131e633c56 (patch)
tree657900815da1711e725f5021ca5f7b443250dc2c /itjs.php
parentbcbd78e5ebe1a79510bc571a0682eed5157e9435 (diff)
downloaditools-afb7404d015a9c21b2b6b1a785830a131e633c56.tar.gz
itools-afb7404d015a9c21b2b6b1a785830a131e633c56.tar.bz2
itools-afb7404d015a9c21b2b6b1a785830a131e633c56.zip
separate slow js/css
Diffstat (limited to 'itjs.php')
-rw-r--r--itjs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/itjs.php b/itjs.php
index 368d393..9b1788f 100644
--- a/itjs.php
+++ b/itjs.php
@@ -21,8 +21,8 @@
require "itools/itools.lib";
-if (EDC('slowjs'))
- sleep(20);
+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
{