[TYPO3-mvc] caching issue with proposed solution

Nathan Lenz typo3 at k9tfk.com
Fri Jan 22 03:33:14 CET 2010


Problem: Your extBase extension makes changes to the content from other
extensions (piBase, Services, etc..).  These external extensions are of
type USER. The extBase extension is of type USER.  Caching is wonderful!

However, whenever a non-cached Controller->action pair is switched to
USER_INT, these external plugins are not switched.  So any changes that
happen inside the extBase plugin do not apply because the USER_INT
plugin is executed last and the external ones are still cached.


Solution: Tx_Extbase_Utility_Extension::configurePlugin() already builds
the typoscript condition for switching the extBase plugin to USER_INT
when it needs to be.

It is as easy as adding a way to insert whatever typoscript we want into
that condition.  This typoscript can change other extensions over to
USER_INT.



I know I've been posting a lot lately, I hope I'm not trying to solve
lots of problems that don't need to be solved.



If you think this is a good idea, please let me know and I can submit a
feature request and patch.

--Nathan




More information about the TYPO3-project-typo3v4mvc mailing list