[TYPO3-mvc] RFC #11978: Clearing the whole page cache using Tx_Extbase_Utility_Cache::clearPageCache() is "impossible"
Franz Koch
typo3.RemoveForMessage at elements-net.de
Fri Jan 21 14:13:32 CET 2011
On 21.01.2011 12:00, Felix Oertel wrote:
> hey,
>
> Am 21.01.11 10:51, schrieb Martin Kutschker:
>> If Extbase has to fiddle with the DB here it proofs that TYPO3 needs a
>> proper cache API. *
>
> It does not have to if you enabled the caching framework ...
but the point is, you shouldn't even have to care if the caching
framework is available or not - that should be checked transparently by
a proper cachingInterfaceApi by Typo3 - one that you can use from FE and
BE to clear caches (while only BE allows to clear all cache types and FE
only allows pageCaches to be cleared).
Something like: t3lib_cache::clearPageCache(233);
--
kind regards,
Franz Koch
More information about the TYPO3-project-typo3v4mvc
mailing list