Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for PSR-6 caches #9003

Closed
derrabus opened this issue Sep 11, 2021 · 2 comments
Closed

Documentation for PSR-6 caches #9003

derrabus opened this issue Sep 11, 2021 · 2 comments
Milestone

Comments

@derrabus
Copy link
Member

In 2.10, we will be able to configure all ORM caches through PSR-6 (#9002). We should update the documentation accordingly.

@derrabus derrabus added this to the 2.10.0 milestone Sep 11, 2021
@SenseException
Copy link
Member

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
Copy link
Member Author

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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants