wie muss ich folgenden Code ändern, damit die Seite nicht dauern frisch ladet?
Code: Alles auswählen
// Add no-cache control for cookies if they are set
//$c_no_cache = (isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_sid']) || isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_data'])) ? 'no-cache="set-cookie", ' : '';
// Work around for "current" Apache 2 + PHP module which seems to not
// cope with private cache control setting
if (!empty($HTTP_SERVER_VARS['SERVER_SOFTWARE']) && strstr($HTTP_SERVER_VARS['SERVER_SOFTWARE'], 'Apache/2'))
{
header ('Cache-Control: no-cache, pre-check=0, post-check=0');
}
else
{
header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');
}
header ('Expires: 0');
header ('Pragma: no-cache');
Was gibt es sonst noch zu beachten?
Bringt ein META-Tag in der overall_header.tpl etwas?
Ist es möglich, daß zuerst alle Daten geladen werden (inkl. aller Bilder auf der Seite) und dann erst mit der Ausgabe begonnen wird?