[TYPO3-dev] using TCEMAIN clear_cacheCmd in frontend in 4.5 trunk

Xavier Perseguers typo3 at perseguers.ch
Thu Dec 23 17:41:01 CET 2010


Hi,

> tcemain is anyway the wrong place for clearing cache.
> It's better to write a wrapper for cache management which can be
> accessed as well from FE.

May take inspiration from Extbase as it does it already (although it 
does not go as deeply as TCEMAIN IIRC).

After searching for it quickly (to avoid letting you digging yourself 
into the code), have a look at method clearPageCache() from 
Classes/Persistence/Storage/Typo3DbBackend.php.

Cheers
Xavier




More information about the TYPO3-dev mailing list