mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 03:54:10 +01:00
Added additional cache control headers
git-svn-id: file:///svn/phpbb/trunk@962 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
d48ebf9e04
commit
ccb121a1a5
@ -155,6 +155,9 @@ $template->assign_vars(array(
|
||||
"T_SPAN_CLASS3" => $theme['span_class3'])
|
||||
);
|
||||
|
||||
header ("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header ("Cache-Control: pre-check=0, post-check=0, max-age=0");
|
||||
header ("Pragma: no-cache");
|
||||
header ("Expires: " . gmdate("D, d M Y H:i:s", time()) . " GMT");
|
||||
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
|
||||
|
||||
|
@ -286,6 +286,9 @@ if(!$userdata['session_logged_in'])
|
||||
$template->assign_block_vars("loginbox", array());
|
||||
}
|
||||
|
||||
header ("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header ("Cache-Control: pre-check=0, post-check=0, max-age=0");
|
||||
header ("Pragma: no-cache");
|
||||
header ("Expires: " . gmdate("D, d M Y H:i:s", time()) . " GMT");
|
||||
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user