[TYPO3-english] Disable caching of a plugin

Ries van Twisk typo3 at rvt.dds.nl
Mon Apr 19 16:09:24 CEST 2010


>
>
>
> /*
> in main()
> */
> $this->pi_USER_INT_obj = 1;  // Disable caching
> $GLOBALS["TSFE"]->set_no_cache();


It's currently strongly discouraged to use set_no_cache()
and in fact the behavior can be turned off completely within the  
install tool.

Best way to add the JS/CSS is using typoscript.

Ries


More information about the TYPO3-english mailing list