Project

General

Profile

Actions

Feature #104451

open

Redis backends should support key prefixing

Added by Markus Klein 5 days ago. Updated about 23 hours ago.

Status:
Under Review
Priority:
Should have
Assignee:
Category:
Caching
Target version:
-
Start date:
2024-07-22
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Redis
Complexity:
medium
Sprint Focus:

Description

In some hosting configurations it would be easier to use the same Redis database for multiple caches.

To avoid key-collitions, the configuration for for Redis cache backend and session backend should allow to set a prefix for the keys.

\TYPO3\CMS\Core\Cache\Backend\RedisBackend::flush will need to be re-implemented, as it currently flushes the whole Redis DB.

https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/SessionStorageFramework/SessionStorage.html#sessions-redis
needs to updated too.

Actions #1

Updated by Markus Klein 5 days ago

  • Description updated (diff)
Actions #2

Updated by Gerrit Code Review 5 days ago

  • Status changed from New to Under Review

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

Actions #3

Updated by Gerrit Code Review 1 day ago

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

Actions #4

Updated by Markus Klein about 23 hours ago

  • Description updated (diff)
Actions

Also available in: Atom PDF