#106787Consider caching via Psr6 cache-stores, Symfony HttpCache, FOSCacheBundle etc.
Description
For caching there seem to be cache-adapters available via the psr6 caching-interface, for example also adapters provided by symfony:
https://symfony.com/doc/current/components/cache.html
In the context of caching responses the HttpCache might be interesting, which provides both caching via Psr6 cache-stores as well as adapters for major cache-providers (Cloudflare, Fastly, Varnish, …).
https://symfony.com/doc/current/http_cache.html
A bit more advanced possibilities with cache-tagging etc. seems to be available with the Cache-Bundle (also from Symfony):
https://foshttpcachebundle.readthedocs.io/en/stable/
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 1
-
Christian Kuhn commented and changed status
NewClosed <span data-processor="relativetime" data-value="2025-05-28T15:57:07+00:00" > 05/28/25, 15:57 </span>
Neither PSR-6 nor PSR-16 support tagging, which is a major asset of TYPO3 core cache implementation. Implementing these may also become problematic due to existing core API details: I tried working on that a couple of times already and always stopped at some point since it did lead to too many headaches. Additionally, our cache backends went through many optimization loops already and switching to something else may re-open issues that we resolved already. This needs to be carefully investigated when following such a path.
I think we should keep forge clean from these kind of “idea only” issues: In case working on the cache API is actively picked up, we should create specific issues, but we should rather not keep a general “please consider if” issue open until this is actively picked up and worked on.
I hope it is ok to close here for the time being. Feel free to reopen in case something is actively happening in this area.