[TYPO3-english] Disable caching of a plugin

Dmitry Dulepov dmitry.dulepov at gmail.com
Mon Apr 19 13:40:28 CEST 2010


Hi!

Simon Strandgaard wrote:
> I have tried changing addPItoST43's the last argument from 1 to 0
> t3lib_extMgm::addPItoST43($_EXTKEY, 'pi1/class.tx_myext_pi1.php', '_pi1',
> 'list_type', 0);
> Then it's no longer cached and the generated html is good...
> 
> Except that it doesn't quite work.
> 
> The function addJsFile() no longer inserts any link to the javascript file.
> The function setJS() no longer inserts any inline javascript.
> The function addCssFile() no longer inserts any link to css file.
> 
> How to disable caching and still get javascript inserted?

At that point all <head> is already generated, so you cannot do that easily...

-- 
Dmitry Dulepov
TYPO3 expert / TYPO3 security team member
Read more @ http://dmitry-dulepov.com/


More information about the TYPO3-english mailing list