[TYPO3-mvc] RFC #11978: Clearing the whole page cache using Tx_Extbase_Utility_Cache::clearPageCache() is "impossible"

Felix Oertel mehl at foertel.com
Thu Jan 20 10:50:57 CET 2011


hey,

thanks for your feedback Masi.

Am 20.01.11 09:02, schrieb Martin Kutschker:
> Wouldn't it be better to have two public methods? One for clearing the complete page cache and for certain pages.

Yeah, in general I would agree. clearPageCache() and 
clearPageCacheByPid(). But as clearPageCache() is allready there and the 
new methods have to be named another way to ensure compatibility and 
stuff ... simply spoken: I'd like to avoid that fuzz. ;-)

> At least change the comment to make clear that a NULL argument will clear the complete cache.

of course, see attached v2

regards, foertel


More information about the TYPO3-project-typo3v4mvc mailing list