Project

General

Profile

Bug #24334 ยป class.tslib_fe.php_444.diff

Administrator Admin, 2010-12-13 19:59

View differences:

typo3/sysext/cms/tslib/class.tslib_fe_fix.php
'Expires: '.gmdate('D, d M Y H:i:s T', $this->cacheExpires),
'ETag: "' . md5($this->content) . '"',
'Cache-Control: max-age='.($this->cacheExpires - $GLOBALS['EXEC_TIME']), // no-cache
'Pragma: public',
# 'Pragma: public',
);
$this->isClientCachable = TRUE;
......
function addTempContentHttpHeaders() {
header('HTTP/1.0 503 Service unavailable');
header('Retry-after: 3600');
header('Pragma: no-cache');
# header('Pragma: no-cache');
header('Cache-control: no-cache');
header('Expire: 0');
}
    (1-1/1)