[TYPO3-mvc] RFC #8565: UriBuilder does not take care of nonCacheable actions, cHash is created every time

Franz Koch typo3.RemoveForMessage at elements-net.de
Thu Jan 20 14:02:37 CET 2011


Hey guys,

this is an SVN patch request.

Type:
=====
Bugfix

Bugtracker:
===========
http://forge.typo3.org/issues/8565

Branches:
=========
trunk

Problem:
========
The UriBuilder is automatically creating a cHash even if the action 
linked to is not allowed to be cached (USER_INT) and thus shouldn't have 
a cHash attached.

Solution:
=========
As the UriBuilder knows about the target action, controller, 
extensionName and pluginName we can check in the frameworkConfiguration 
if the given action is among the nonCacheableActions and set 
useCacheHash to FALSE in those cases.

-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list