Project

General

Profile

Bug #20845 » bug_11663_part3_4-2.diff

Administrator Admin, 2009-08-07 16:54

View differences:

typo3/sysext/cms/tslib/class.tslib_fe.php (Arbeitskopie)
$temp_content = str_pad($temp_content, $padSize, "\n") . $padSuffix;
}
if (!$this->headerNoCache() && $cachedRow = $this->getFromCache_queryRow()) {
// If disableNoCacheParameter is enabled: Skip the next part which was useful only until locking was implemented. Skipping it saves one query at least...
// Note: this will be removed completely in future versions, just the else-part is kept.
if ($this->TYPO3_CONF_VARS['FE']['disableNoCacheParameter'] === false && !$this->headerNoCache() && $cachedRow = $this->getFromCache_queryRow()) {
// We are here because between checking for cached content earlier and now some other HTTP-process managed to store something in cache AND it was not due to a shift-reload by-pass.
// This is either the "Page is being generated" screen or it can be the final result.
// In any case we should not begin another rendering process also, so we silently disable caching and render the page ourselves and thats it.
(6-6/7)