diff options
Diffstat (limited to 'usr/local/www/ifstats.php')
-rw-r--r-- | usr/local/www/ifstats.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr/local/www/ifstats.php b/usr/local/www/ifstats.php index fd7190f..5b3c1e8 100644 --- a/usr/local/www/ifstats.php +++ b/usr/local/www/ifstats.php @@ -54,11 +54,10 @@ $temp = gettimeofday(); $timing = (double)$temp["sec"] + (double)$temp["usec"] / 1000000.0; - + 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("Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0" ); // HTTP/1.1 header("Pragma: no-cache"); // HTTP/1.0 echo "$timing|" . $ifinfo['inbytes'] . "|" . $ifinfo['outbytes'] . "\n"; |