aboutsummaryrefslogtreecommitdiffstats
path: root/static/delayJS.php
diff options
context:
space:
mode:
Diffstat (limited to 'static/delayJS.php')
-rwxr-xr-xstatic/delayJS.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/static/delayJS.php b/static/delayJS.php
new file mode 100755
index 0000000..1307ca0
--- /dev/null
+++ b/static/delayJS.php
@@ -0,0 +1,16 @@
+<?php
+#====================================================================================================
+# Cache deaktivieren
+#====================================================================================================
+header('Cache-Control: no-cache, no-store, must-revalidate');
+
+#====================================================================================================
+# Content-Type setzen
+#====================================================================================================
+header('Content-Type: text/javascript');
+
+#====================================================================================================
+# Lange Ladezeit simulieren
+#====================================================================================================
+usleep(intval(rand(10, 40).'0000'));
+?> \ No newline at end of file