summaryrefslogtreecommitdiffstats
path: root/usr/local/www/graph_cpu.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-09-20 14:08:14 +0000
committerErmal Luçi <eri@pfsense.org>2008-09-20 14:08:14 +0000
commit16e6485b56fcfb2d2f1dace96b7f055912683798 (patch)
treef2396390f9179eb1c5d3fa34a487fb141220753e /usr/local/www/graph_cpu.php
parent0605bbe327767862e49f77a03ac7b49511f8eeb3 (diff)
downloadpfsense-16e6485b56fcfb2d2f1dace96b7f055912683798.zip
pfsense-16e6485b56fcfb2d2f1dace96b7f055912683798.tar.gz
Workaround agressive cache of firefox by adding some options in the header. this is the same issue as the traffic graph one.
Diffstat (limited to 'usr/local/www/graph_cpu.php')
-rw-r--r--usr/local/www/graph_cpu.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/local/www/graph_cpu.php b/usr/local/www/graph_cpu.php
index 0e45a1a..8a7822e 100644
--- a/usr/local/www/graph_cpu.php
+++ b/usr/local/www/graph_cpu.php
@@ -36,7 +36,11 @@
##|*MATCH=graph_cpu.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
header("Content-type: image/svg+xml");
/********* Other conf *******/
OpenPOWER on IntegriCloud