Project

General

Profile

Actions

Feature #104451

closed

Redis backends should support key prefixing

Added by Markus Klein 4 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Caching
Target version:
-
Start date:
2024-09-04
Due date:
2024-09-04
% Done:

100%

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.


Related issues 1 (0 open1 closed)

Follows TYPO3 Core - Task #104800: Cleanup Redis classesClosedMarkus Klein2024-09-03

Actions
Actions

Also available in: Atom PDF