[TYPO3-mvc] ExtBase 1.3 and cache

Pankaj Lele pankaj at lelesys.com
Tue Mar 1 16:05:14 CET 2011


Hi Franz,

> That's the only way I currently see how to solve this. So place a plugin
> of your extension on page a) and allow cached action via
> switchableControllerActions here. On page b) do the same, but allow the
> nonCached actions via switchableControllerActions.
>
> Mixing cached and nonCached actions in the very same plugin instance is
> in many cases not the best idea anyway - but probably required for some
> rare cases. But as I said - we have to discuss that.
>

I just got my extension working. But I had to actually register 2 
plugins (as blog_example 1.3.0 do) via ext_localconf.php 
Tx_Extbase_Utility_Extension::configurePlugin, one for cached actions 
and another for non-cached actions to take advantage of automatic 
detection of the target page id for the required controller/action being 
the fact that same plugin cannot be put on different pages.

I hope multiple plugins is good way of routing actions for now.

Thanks

-- 

With best regards,
Pankaj Lele
---------------------------

CTO & Executive Director
Lelesys Infotech Pvt. Ltd.
Pune/Goa, India

Web: http://www.lelesys.com

[Certified TYPO3 Integrator]


More information about the TYPO3-project-typo3v4mvc mailing list