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 #1

Updated by Gerrit Code Review almost 7 years 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/53091

Actions #2

Updated by Gerrit Code Review almost 7 years 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/53091

Actions #3

Updated by Gerrit Code Review almost 7 years 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/53091

Actions #4

Updated by Gerrit Code Review almost 7 years 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/53091

Actions #5

Updated by Gerrit Code Review almost 7 years 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/53091

Actions #6

Updated by Benni Mack over 6 years ago

  • Sprint Focus set to On Location Sprint
Actions #7

Updated by Gerrit Code Review over 6 years 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/53091

Actions #8

Updated by Gerrit Code Review over 6 years 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/53091

Actions #9

Updated by Gerrit Code Review over 6 years 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/53091

Actions #10

Updated by Gerrit Code Review over 6 years 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/53091

Actions #11

Updated by Gerrit Code Review over 6 years ago

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

Actions #12

Updated by Anonymous over 6 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions #14

Updated by Georg Ringer over 5 years ago

  • Related to Bug #34193: extGetNumberOfCachedPages provokes an allocate memory error added
Actions

Also available in: Atom PDF