From afb7404d015a9c21b2b6b1a785830a131e633c56 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 25 Sep 2014 18:49:45 +0200 Subject: separate slow js/css --- itjs.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'itjs.php') 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 { -- cgit v1.2.3