Story #81432
closedReplace TYPO3 caching solution with PSR-6 / Doctrine capable alternative
100%
Description
This issue is a parent issue for tasks related to replacing TYPO3 caches.
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/
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.
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.
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
Updated by Christoph Lehmann about 5 years ago
- Related to Task #88927: The temporary cache file ... could not be written added
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.