aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2018-02-03 19:42:08 +0100
committerThomas Lange <code@nerdmind.de>2018-02-03 19:42:08 +0100
commit5e1b775028e17cd5ffb0272ff389f5b5758f898b (patch)
treea652e35ac64fccd5e54b13d7fc55ab77fe1c0f0a
parentf48b94d0aaf8f7057b9f37152ae028b49c710f31 (diff)
downloadbigpipe-5e1b775028e17cd5ffb0272ff389f5b5758f898b.tar.gz
bigpipe-5e1b775028e17cd5ffb0272ff389f5b5758f898b.tar.xz
bigpipe-5e1b775028e17cd5ffb0272ff389f5b5758f898b.zip
Remove sending the "Cache-Control" header on the demo page(s)
-rw-r--r--async.php5
-rw-r--r--index.php5
2 files changed, 0 insertions, 10 deletions
diff --git a/async.php b/async.php
index 3509d01..8e858df 100644
--- a/async.php
+++ b/async.php
@@ -11,11 +11,6 @@ function isAsyncRequest() {
# <<<
#===============================================================================
-# Deactivate caching
-#===============================================================================
-header('Cache-Control: no-cache, no-store, must-revalidate');
-
-#===============================================================================
# Include classes and functions
#===============================================================================
spl_autoload_register(function($classname) {
diff --git a/index.php b/index.php
index fb2aac6..c47dc90 100644
--- a/index.php
+++ b/index.php
@@ -1,10 +1,5 @@
<?php
#===============================================================================
-# Deactivate caching
-#===============================================================================
-header('Cache-Control: no-cache, no-store, must-revalidate');
-
-#===============================================================================
# Include classes and functions
#===============================================================================
spl_autoload_register(function($classname) {