From bf996f7247133c536511c23b6ad30aa222bfd6d9 Mon Sep 17 00:00:00 2001
From: Thomas Lange <code@nerdmind.de>
Date: Wed, 15 Apr 2015 21:29:19 +0200
Subject: Initial commit

---
 static/delayJS.php | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100755 static/delayJS.php

(limited to 'static/delayJS.php')

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
-- 
cgit v1.2.3