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

Martin Kutschker masi-no at spam-typo3.org
Thu Jan 20 09:02:34 CET 2011


Am 20.01.2011 00:02, schrieb Felix Oertel:
> Hey guys,
> 
> this is an SVN patch request.
> 
> Type:
> =====
> Bugfix
> 
> Bugtracker:
> ===========
> http://forge.typo3.org/issues/11978
> 
> Branches:
> =========
> trunk
> 
> Problem:
> ========
> It's not able to call Tx_Extbase_Utility_Cache::clearPageCache() without argument so it's not
> possible to clear the hole cache.
> 
> Solution:
> =========
> Make the method's argument optional.

Wouldn't it be better to have two public methods? One for clearing the complete page cache and for
certain pages.

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

Masi


More information about the TYPO3-project-typo3v4mvc mailing list