diff options
author | Thomas Lange <code@nerdmind.de> | 2015-12-26 16:37:25 +0100 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2015-12-26 16:37:25 +0100 |
commit | 6658708bdd775a6ab1352e0c36b4c7deafc52e84 (patch) | |
tree | e95ef6b6fb67e0d1ca42221e94631fa6123b6f22 /static/delayJS.php | |
parent | 903100ecb99ab926d4ac3be4eba11ea1c9800e12 (diff) | |
download | bigpipe-6658708bdd775a6ab1352e0c36b4c7deafc52e84.tar.gz bigpipe-6658708bdd775a6ab1352e0c36b4c7deafc52e84.tar.xz bigpipe-6658708bdd775a6ab1352e0c36b4c7deafc52e84.zip |
Multiple updates; new feature PhaseDoneJS
Diffstat (limited to 'static/delayJS.php')
-rwxr-xr-x | static/delayJS.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/static/delayJS.php b/static/delayJS.php index 1307ca0..96e46c5 100755 --- a/static/delayJS.php +++ b/static/delayJS.php @@ -1,16 +1,18 @@ <?php #==================================================================================================== -# Cache deaktivieren +# Disable cache #==================================================================================================== header('Cache-Control: no-cache, no-store, must-revalidate'); #==================================================================================================== -# Content-Type setzen +# Set Content-Type #==================================================================================================== header('Content-Type: text/javascript'); #==================================================================================================== -# Lange Ladezeit simulieren +# Simulate long loading time #==================================================================================================== usleep(intval(rand(10, 40).'0000')); -?>
\ No newline at end of file +?> + +console.log("EXTERNAL: Delayed javascript resource loaded"); |