TYPO3 (1)

How do I disable caching for my TYPO3 plugin?

I'm working on a plugin and I want to prevent TYPO3 from caching its content. How?

Assuming you did not create a non-cached plugin, you can put this in your plugin's ext_localconf.php:

t3lib_extMgm::addPItoST43($_EXTKEY, 'pi1/class.tx_myext_pi1.php', '_pi1', 'CType', 0);

where "class.tx_myext_pi1.php" is replaced by your plugin's class name. if you didn't use the kickstarter, then you mignt need to change the pi1 stuff as well.

Comments

Add a Comment



NOTE: Comments are moderated and will not show until approved.