[TYPO3-mvc] Re: Extbase / ViewHelper disable caching?

Philipp Wrann philippwrann at gmail.com
Wed Aug 20 08:21:13 CEST 2014


To make a plugin uncached generally you have to register the action that way...

\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
	'Vendor'. $_EXTKEY, // namespace
	'Pi1', // pluginname
	array('Controller' => 'action1,action2'), // allowed actions of this plugin
	array('Controller' => 'action2'), // uncached actions
	\TYPO3\CMS\Extbase\Utility\ExtensionUtility::PLUGIN_TYPE_CONTENT_ELEMENT // if you want to register the plugin as content element and not list type
);

If you want the plugin to be uncached on one page only you can insert it via Typoscript using USER_INT

If you want to have a fast page load (cached) but offer some dynamic data you can simply refresh a certain content area using ajax and an own pagetype, that calls a uncached action....


More information about the TYPO3-project-typo3v4mvc mailing list