[TYPO3-core] Introducing a BE rootline cache

Ingo Renner typo3 at ingo-renner.com
Mon Feb 26 15:33:35 CET 2007


Am 26.02.2007 um 15:23 schrieb Martin Kutschker:

Hi Martin,

> Issue: The BE tries to get the rootline for a given page id again  
> and again (eg in the "new element" wizard). This create quite a  
> large number of unnecessary DB requests.
>
> Solution: Use a cache during a page request.

I like yoour idea. However I think we should have one return in a  
method only. Thus I'd like you to change it to set $output to the  
cached array and check whether it is empty. It would then stay with  
one return only.


Ingo


More information about the TYPO3-team-core mailing list