diff options
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"); |