[TYPO3-dev] Re-openning #6601

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Tue Nov 6 21:39:48 CET 2007


Popy schrieb:
> The patch resolve only a part of the problem. When the page is found and the
> overlay is done, all works.
> But if the page is not accessible or if on of the overlays returns a "false"
> value, the result is not cached, so queries will be done again and again.
> 
> If we need a real cache, a result has to be cached even if it is an error
> (from my point of view), like this little code example :
> 
> if (!isset($cache[$cacheKey])) {
>>    $cache[$cacheKey] = getFromDb();
>>    [...]
>> }
>>
>> return $cache[$cacheKey];

There is yet another issue with this patch with rootline menus on 
translated pages. I'll prepare a fix.

Masi




More information about the TYPO3-dev mailing list