[TYPO3-mvc] Cache duration for plugin content

Christian Kuhn lolli at schwarzbu.ch
Sun May 6 21:35:32 CEST 2012


Hey,

On 05/06/2012 07:21 PM, Stephen Bungert wrote:
> Is there a better way of doing this? Can I control how long a cached
> extension would keep it's content in the cache? Say maybe just for an
> hour? I know that if you change page content the cache gets cleared, but
> as all my information comes from scoop.it, any new scoops wouldn't cause
> the page cache to be cleared, that is why I decided to make an uncached
> extension.

the core does not provide an API to cache specific content elements. An 
element is either cached with the page (USER), or non cached (USER_INT). 
But extension 'enetcache' from TER provides an API to do exactly what 
you want.

Regards
Christian


More information about the TYPO3-project-typo3v4mvc mailing list