some http headers changes that should make things better

This commit is contained in:
JT Smith 2006-05-11 17:48:40 +00:00
parent b018b8e61e
commit 36b5346d0e
2 changed files with 26 additions and 24 deletions

View file

@ -184,7 +184,7 @@ if ($self->session->user->isInGroup(2)) {
# This "triple incantation" panders to the delicate tastes of various browsers for reliable cache suppression.
$var{'head.tags'} .= '
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate, max-age=0" />
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate, max-age=0, private" />
<meta http-equiv="Expires" content="0" />
';
$self->session->http->setCacheControl("none");