mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Documentation for PSR-6 caches #6828
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @derrabus on GitHub (Sep 11, 2021).
In 2.10, we will be able to configure all ORM caches through PSR-6 (#9002). We should update the documentation accordingly.
@SenseException commented on GitHub (Sep 12, 2021):
Do you suggest a rewrite of https://www.doctrine-project.org/projects/doctrine-orm/en/2.10/reference/caching.html because the Cache component is completely deprecated? I don't think we should keep the old caching docs for ORM in > 2.10.
@derrabus commented on GitHub (Sep 12, 2021):
I would remove the section about the various drivers. That section does not make sense anymore since Doctrine Cache is not the recommended solution anymore. And the cache library the app developer chooses will certainly document their cache adapters in their own documentation.
The "Integrating with the ORM" part is pretty much still valid, I guess. I was thinking about using Symfony Cache in the examples with a prior not that we recommend Symfony Cache, but any other PSR-6 implementation would work as well.