Bug #38172

Routing cache only works for one request

Added by Bastian Waidelich over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Should have
Category:
MVC - Routing
Start date:
2012-06-19
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

Currently the routing uses a TransientMemory Cache Backend by default. Besides, objects in the routing values are converted to hashes using spl_object_has() - which generates a new hash every request.

Instead a more persistent cache backend should be used and objects should be converted to their identifiers using the PersistenceManager.
Note: The cache needs to be flushed when ever a Routes.yaml file has been changed an for functional tests

#1

Updated by Gerrit Code Review over 9 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12196

#2

Updated by Gerrit Code Review over 9 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12196

#3

Updated by Gerrit Code Review over 9 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12196

#4

Updated by Gerrit Code Review over 9 years ago

Patch set 1 for branch FLOW3-1.1 has been pushed to the review server.
It is available at http://review.typo3.org/12206

#5

Updated by Bastian Waidelich over 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#6

Updated by Karsten Dambekalns over 9 years ago

  • Target version changed from 1.1 RC1 to 1.1 beta 3

Also available in: Atom PDF