mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-18 07:31:32 +02: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:
@@ -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");
|
||||||
|
Reference in New Issue
Block a user