Project

General

Profile

Actions

Story #81460

closed

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

Sacrifice caches' ill conceived getIdentifiersByTag

Added by Claus Due almost 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-06-03
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Sprint Focus:
On Location Sprint

Description

There are several reasons for needing to drop the getIdentifiersByTag method, but most important are:

  • Tags are a concept designed for invalidation not retrieval
  • Cache pools already accept "flushByTags" which serves invalidation purposes
  • There is no way to reproduce this behavior via PSR-6 or PSR-16 interfaces
  • Tags are handled differently by all engines and cannot be resolved externally without a large amount of processing (very likely including processing which must use Reflection to break the public contract)
  • There is ONE single usage in all of TYPO3 which exists in the admin panel (a very legacy component) and is used to list the number of cached versions of a given page.

Sacrificing this single statistics output seems to be a reasonable choice - and will bring the TYPO3 concept of "cache tags" completely in line with the PSR-6 concept.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #34193: extGetNumberOfCachedPages provokes an allocate memory errorClosed2012-02-23

Actions
Actions

Also available in: Atom PDF