mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add no cache header
This commit is contained in:
parent
851083bd2f
commit
bbc1f86d4f
@ -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");
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user