diff options
author | Jose Luis Duran <jlduran@users.noreply.github.com> | 2015-04-14 19:18:28 -0300 |
---|---|---|
committer | Jose Luis Duran <jlduran@users.noreply.github.com> | 2015-04-14 19:18:28 -0300 |
commit | 2c5fda82fbd37cd8da9cefd415c44176682dcf19 (patch) | |
tree | db695f9bc6753f8b0437c1e334c4845d02a5cae2 /usr/local/captiveportal/index.php | |
parent | 34dced26198480d7b02e80578df40336fef89043 (diff) | |
download | pfsense-2c5fda82fbd37cd8da9cefd415c44176682dcf19.zip pfsense-2c5fda82fbd37cd8da9cefd415c44176682dcf19.tar.gz |
Combine Cache-Control header in one line
Sorted by RFC 2616:
Section 14.9.1 `no-cache`
Section 14.9.2 `no-store`
Section 14.9.4 `must-revalidate`
Combined into one line with IE's `pre-check` and `post-check`. However,
when both set to `0`, both are entirely ignored:
http://blogs.msdn.com/b/ieinternals/archive/2009/07/20/using-post_2d00_check-and-pre_2d00_check-cache-directives.aspx
Diffstat (limited to 'usr/local/captiveportal/index.php')
-rw-r--r-- | usr/local/captiveportal/index.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php index 90f0dbb..0e65a26 100644 --- a/usr/local/captiveportal/index.php +++ b/usr/local/captiveportal/index.php @@ -40,8 +40,7 @@ require_once("captiveportal.inc"); $errormsg = "Invalid credentials specified."; header("Expires: 0"); -header("Cache-Control: no-store, no-cache, must-revalidate"); -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"); header("Pragma: no-cache"); header("Connection: close"); |