Project

General

Profile

Actions

Story #81432

closed

Replace TYPO3 caching solution with PSR-6 / Doctrine capable alternative

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

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

100%

Estimated time:
(Total: 0.00 h)
TYPO3 Version:
9
PHP Version:
Tags:
Sprint Focus:

Description

This issue is a parent issue for tasks related to replacing TYPO3 caches.


Subtasks 11 (0 open11 closed)

Task #81433: Deprecate all current TYPO3 cache backendsClosed2017-06-02

Actions
Task #81434: Deprecate StringFrontend cache frontendClosed2017-06-02

Actions
Feature #81435: Create shared, base cache configuration affectable by TYPO3_CONF_VARSClosed2017-06-02

Actions
Feature #81436: Introduce concept of "Communicators"Closed2017-06-02

Actions
Task #81437: Migrate core cache configurations to PSR delegateClosed2017-06-02

Actions
Task #81438: Optional: recreate Typo3DatabaseBackend cache backend as PSR-6 implementationClosed2017-06-02

Actions
Feature #81455: Add identifier locking capabilities to TYPO3 cache frontendsClosed2017-06-03

Actions
Task #81458: Consolidate all cache frontends into one frontend which handles any typeClosed2017-06-03

Actions
Story #81460: Sacrifice caches' ill conceived getIdentifiersByTagClosed2017-06-03

Actions
Task #81461: Program cache interaction to interface, not implementationClosed2017-06-03

Actions
Task #81500: Switch to filesystem caches as defaultClosed2017-06-07

Actions

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #88927: The temporary cache file ... could not be writtenClosed2019-08-06

Actions
Actions #1

Updated by Philipp Gampe over 7 years ago

How about PSR-16 "Simple Cache"? It is much closer to our cache interfaces.

I understand your intention to make use of the doctrine cache implementations by introducing PSR-6, however I would prefer to make this an alternative to the current approach and change our implementation to PSR-16 instead. As far as I can see, doctrine does not make use of PSR-6 either, but uses an interface similar ours and PSR-16. Do you have an example of a successful PSR-6 implementation other than symfony?

http://symfony.com/doc/master/components/cache/psr6_psr16_adapters.html
http://blog.ircmaxell.com/2014/10/an-open-letter-to-php-fig.html
https://www.reddit.com/r/PHP/comments/3vu9dy/psr6_is_about_to_pass_and_still_has_serious/

Actions #2

Updated by Claus Due over 7 years ago

See https://github.com/php-cache comes with adapters for Doctrine and PSR-16 caches. PSR-6 is simply the base.

Actions #3

Updated by Claus Due over 7 years ago

Link no. one above is 404, Philipp.

Actions #4

Updated by Philipp Gampe over 7 years ago

I fixed the link.

The php-cache looks more promising than pure psr-6 interfaces. I still consider psr-6 a good example of "overengineering", but for the sake of interoperability, it might be worth adapting to it.

Actions #5

Updated by Claus Due over 7 years ago

Much, much more details about the vision and strategy for this task:

https://gist.github.com/NamelessCoder/6519f8a0e05dbc4613de16c07bb63a6d

Actions #6

Updated by Susanne Moog almost 7 years ago

  • Category set to Caching
Actions #7

Updated by Christoph Lehmann about 5 years ago

  • Related to Task #88927: The temporary cache file ... could not be written added
Actions #8

Updated by Christian Kuhn almost 3 years ago

  • Status changed from New to Closed

Hey. It seems work in this area is completely stalled since 4 years. A couple of issues have been resolved, the cache API has been streamlined a bit.

I'm about to close the story and related issues for now: They are active action points, but stalled.

I guess if PSR-6 is picked up again, some solution would be different from what has been worked on 4 years ago. If single issues are still appropriate, they could be re-opened and re-attached to a new story again. Other than that, there seems to be little value in still keeping them open at the moment.

Actions

Also available in: Atom PDF