[Typo3] Disable caching only for an extension, but the rest of the page should be cached

Dmitry Dulepov typo3 at fm-world.ru
Mon Aug 22 10:38:26 CEST 2005


Hi!

Just define your extension as USER_INT in TS setup. Note: it have to be
TS setup, setting USER_INT flag in the extension's code will not work!

Dmitry.

Matthias Taugwalder wrote:
> Good evening
> 
> On a webpage I saw way with which you can disable the caching in the
> extension's code by calling 
> 	$GLOBALS["TSFE"]->set_no_cache()
> 
> What if this function is called although I set config.no_cache = 1 in my
> template? Does Typo3 recognize that it should only not cache the extension's
> contents or is the whole page not cached?
> 
> Does this procedure with set_no_cache() have any disadvantages?
> 
> Thanks for any experiences or hints in advance.
> 
> 
> Best regards,
> 
> Matthias Taugwalder
>  
> ---
> Matthias Taugwalder
> matthias.taugwalder at bluewin.ch
> 



More information about the TYPO3-english mailing list