[TYPO3-core] RFC: #11271: Use 2 level cache for BEgetRootLine
Uschi Renziehausen
typo3news at otherone.de
Tue Jun 16 12:49:56 CEST 2009
A big +1 by testing with a pagetree of 6000+ pages and over 100 groups.
We have be_acl installed, and that ext wants the rootline quite often! So can we please have it?
Uschi
Steffen Kamper schrieb:
> Hi Masi,
>
> Martin Kutschker schrieb:
>> Better, but now TCEmain has to know about a private cache of BEfunc. The
>> cache handler fucntion in TCEmain is fine, but it either needs a hook
>> API or another way (observers?) for external caches to get flushed.
>>
>
> alright. i made the function public and allow static call which has a
> positive side effect as you easy can flush a page cache from outside
>
> flushing the rootline only:
> t3lib_TCEmain::cacheHandler('pages', 0, 'language');
>
> flushing a specific page from cache:
> t3lib_TCEmain::cacheHandler('pages', 112, 'update');
>
> hope that fits the needs.
>
> vg Steffen
>
More information about the TYPO3-team-core
mailing list