Documentation for PSR-6 caches #6828

Closed
opened 2026-01-22 15:39:35 +01:00 by admin · 2 comments
Owner

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.

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.
admin added the Documentation label 2026-01-22 15:39:35 +01:00
admin closed this issue 2026-01-22 15:39:35 +01:00
Author
Owner

@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.

@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.
Author
Owner

@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.

@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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#6828