diff options
author | Scott Ullrich <sullrich@gmail.com> | 2011-09-12 15:32:56 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@gmail.com> | 2011-09-12 15:32:56 -0400 |
commit | 108c6dbc5804ba921a413e5e721a0a5d0466f9f1 (patch) | |
tree | 077f7af3adbe96f7e883fc5422f29fd9f31e422c /usr/local/www/getstats.php | |
parent | 43d8f1cc9cd5190858ed7220339c0a147cc68dd2 (diff) | |
download | pfsense-108c6dbc5804ba921a413e5e721a0a5d0466f9f1.zip pfsense-108c6dbc5804ba921a413e5e721a0a5d0466f9f1.tar.gz |
Add no cache header
Diffstat (limited to 'usr/local/www/getstats.php')
-rw-r--r-- | usr/local/www/getstats.php | 6 |
1 files changed, 6 insertions, 0 deletions
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"); |