[TYPO3-core] RFC #16832: Bug: error when using t3lib_TCEmain->clear_cacheCmd in frontend

Krystian Szymukowicz t33k at prolabium.com
Sun Dec 26 13:00:47 CET 2010


W dniu 2010-12-25 22:13, Steffen Kamper wrote:
> Hi,
>
> i investigated this issue, and it's nonsense to call tcemain from FE as
> this is not intended to do so.
>
> Clearing cache in FE is possible as it's built in. The only senseful is
> clearing page cache, configuration cache or rte cache is not allowed
> from FE context.
>
> To clear cahce in FE there are two functions available:
>
> $GLOBALS['TSFE']->clearPageCacheContent() <= clears all page cache
> $GLOBALS['TSFE']->clearPageCacheContent_pidList($pidList) <= clears
> cache of pages for given uid's
>
> So this is all what is needed for FE. For own cache using cache
> framework there are the built in functions from cache framework.
>
> So -1 for this patch.
>

Right.

So this RFC should be dropped and I will post it as bug in "comments" 
extension then.

Thanks for you findings.



-- 
grtz
Krystian Szymukowicz


More information about the TYPO3-team-core mailing list