diff options
author | Urban Müller | 2014-09-25 18:49:45 +0200 |
---|---|---|
committer | Urban Müller | 2014-09-25 18:49:45 +0200 |
commit | afb7404d015a9c21b2b6b1a785830a131e633c56 (patch) | |
tree | 657900815da1711e725f5021ca5f7b443250dc2c /itjs.php | |
parent | bcbd78e5ebe1a79510bc571a0682eed5157e9435 (diff) | |
download | itools-afb7404d015a9c21b2b6b1a785830a131e633c56.tar.gz itools-afb7404d015a9c21b2b6b1a785830a131e633c56.tar.bz2 itools-afb7404d015a9c21b2b6b1a785830a131e633c56.zip |
separate slow js/css
Diffstat (limited to 'itjs.php')
-rw-r--r-- | itjs.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 { |