[TYPO3-mvc] condition if action is cached / uncached

Domi djgarms at gmail.com
Mon Dec 19 06:26:03 CET 2011


Hi Sebastian,

 > i think what you need in your viewhelper is the following condition:
 > if(TRUE === $this->controllerContext->getRequest()->isCacheable()) {
 > } else {
 > }

we are making use of:
$userObjType = 
$this->configurationManager->getContentObject()->getUserObjectType();

But thanks for your Help!

Cheers
Domi



More information about the TYPO3-project-typo3v4mvc mailing list