mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Added false for the optional replace parameter of the header for Cache-Control.. This might actually fix some issues with gzip compression and win98/IIS...
git-svn-id: file:///svn/phpbb/trunk@2217 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
c60dba1a04
commit
10ef4498dc
2 changed files with 4 additions and 4 deletions
|
@ -160,7 +160,7 @@ $template->assign_vars(array(
|
||||||
);
|
);
|
||||||
|
|
||||||
header ("Cache-Control: no-store, no-cache, must-revalidate");
|
header ("Cache-Control: no-store, no-cache, must-revalidate");
|
||||||
header ("Cache-Control: pre-check=0, post-check=0, max-age=0");
|
header ("Cache-Control: pre-check=0, post-check=0, max-age=0", false);
|
||||||
header ("Pragma: no-cache");
|
header ("Pragma: no-cache");
|
||||||
header ("Expires: " . gmdate("D, d M Y H:i:s", time()) . " GMT");
|
header ("Expires: " . gmdate("D, d M Y H:i:s", time()) . " GMT");
|
||||||
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
|
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
|
||||||
|
|
|
@ -468,7 +468,7 @@ else
|
||||||
}
|
}
|
||||||
|
|
||||||
header ("Cache-Control: no-store, no-cache, must-revalidate");
|
header ("Cache-Control: no-store, no-cache, must-revalidate");
|
||||||
header ("Cache-Control: pre-check=0, post-check=0, max-age=0");
|
header ("Cache-Control: pre-check=0, post-check=0, max-age=0", false);
|
||||||
header ("Pragma: no-cache");
|
header ("Pragma: no-cache");
|
||||||
header ("Expires: " . gmdate("D, d M Y H:i:s", time()) . " GMT");
|
header ("Expires: " . gmdate("D, d M Y H:i:s", time()) . " GMT");
|
||||||
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
|
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
|
||||||
|
|
Loading…
Add table
Reference in a new issue