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

Steffen Gebert steffen at steffen-gebert.de
Sun Jan 16 12:37:31 CET 2011


 > To clear cahce in FE there are two functions available:
>
> $GLOBALS['TSFE']->clearPageCacheContent() <= clears all page cache

That's not true. clearPageCacheContent() only clears the cache for one 
page, dependent on the $newHash.

Description of $newHash is:
 > This hash is unique to the template, the $this->id and $this->type
 > vars and the gr_list (list of groups). Used to get and later store
 > the cached data

So no way for complete cache clearing in FE.

Kind regards
Steffen

-- 
Steffen Gebert
TYPO3 Core Team Member

Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/




More information about the TYPO3-dev mailing list