diff --git a/static-main.php b/static-main.php index b069b0ec4..91564aaf6 100644 --- a/static-main.php +++ b/static-main.php @@ -14,6 +14,7 @@ */ $cacheOn = true; +$cacheDebug = false; $hostmapLocation = '../subsites/host-map.php'; if ($cacheOn) { @@ -38,10 +39,12 @@ if ($cacheOn) { } elseif (file_exists('../cache/'.$cacheDir.$file.'.php')) { header('X-cache: hit at '.date('r')); include_once '../cache/'.$cacheDir.$file.'.php'; + if ($cacheDebug) echo "