Feature #81435

Story #81432: Replace TYPO3 caching solution with PSR-6 / Doctrine capable alternative

Create shared, base cache configuration affectable by TYPO3_CONF_VARS

Added by Claus Due over 1 year ago. Updated about 1 year ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-06-02
Due date:
% Done:

0%

PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Rather than force a TYPO3 database backend and variable frontend as default, it is a simple matter to place this default configuration in TYPO3_CONF_VARS together with the usual cache configurations. Furthermore, so many of the options used in the cache configurations are duplicated and would greatly benefit from inheriting things like default lifetime and default cache pool from a single source of configuration.

This is achievable by loading the default cache configuration from a reserved named configuration and using array_replace_recursive when determining cache configuration to merge the custom configuration on top of the default configuration.

Finally this allows lifting the requirement that a cache must be configured: as long as the default configuration is a workable cache setup, any cache can be created on-the-fly without any problems and will correctly use the ad-hoc identifier (but will only be manually flushable until properly configured).

History

#1 Updated by Philipp Gampe over 1 year ago

IMHO this should be done even if we do not move to PSR-6. It is a nice feature on its own.

#2 Updated by Gerrit Code Review over 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53154

#3 Updated by Gerrit Code Review over 1 year ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53154

#4 Updated by Gerrit Code Review over 1 year ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53154

#5 Updated by Gerrit Code Review over 1 year ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53154

#6 Updated by Gerrit Code Review over 1 year ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53154

#7 Updated by Gerrit Code Review over 1 year ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53154

#8 Updated by Gerrit Code Review over 1 year ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53154

#9 Updated by Gerrit Code Review about 1 year ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53154

#10 Updated by Gerrit Code Review about 1 year ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53154

Also available in: Atom PDF