From bbc1f86d4f1c0bdda01ffaa388231ccf3a6ec4a7 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 12 Sep 2011 15:33:51 -0400 Subject: Add no cache header --- usr/local/www/getstats.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/usr/local/www/getstats.php b/usr/local/www/getstats.php index 7687981..a20f14e 100644 --- a/usr/local/www/getstats.php +++ b/usr/local/www/getstats.php @@ -36,6 +36,12 @@ ##|*MATCH=getstats.php* ##|-PRIV +header("Last-Modified: " . gmdate( "D, j M Y H:i:s" ) . " GMT" ); +header("Expires: " . gmdate( "D, j M Y H:i:s", time() ) . " GMT" ); +header("Cache-Control: no-store, no-cache, must-revalidate" ); // HTTP/1.1 +header("Cache-Control: post-check=0, pre-check=0", FALSE ); +header("Pragma: no-cache"); // HTTP/1.0 + require_once("guiconfig.inc"); include_once("includes/functions.inc.php"); -- cgit v1.1