8000 [Cache] How to configure a cache adapter · Issue #10989 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[Cache] How to configure a cache adapter #10989

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

Closed
sylfabre opened this issue Feb 12, 2019 · 3 comments
Closed

[Cache] How to configure a cache adapter #10989

sylfabre opened this issue Feb 12, 2019 · 3 comments
Labels
Cache ⭐️ EU-FOSSA Hackathon https://symfony.com/blog/the-symfony-and-api-platform-hackathon-is-coming

Comments

@sylfabre
Copy link
Contributor

It is very easy to use default cache adapter like Redis or Filesystem.

But there is no explanation on how to set custom options for a given adapter.

For instance, Redis client supports a lot of options:
image

=> How may I use them?

@xabbuh xabbuh added the Cache label Feb 13, 2019
@wouterj wouterj closed this as completed in 7700cab Apr 7, 2019
@wouterj wouterj added ⭐️ EU-FOSSA Hackathon https://symfony.com/blog/the-symfony-and-api-platform-hackathon-is-coming and removed ⭐️ EU-FOSSA Hackathon https://symfony.com/blog/the-symfony-and-api-platform-hackathon-is-coming labels Apr 7, 2019
@sylfabre
Copy link
Contributor Author
sylfabre commented Apr 8, 2019

@wouterj hi
Thank you for the doc update. But I still can't find how to configure the Redis cache adapter.
For instance, how to set the retry_interval for the cache.app?

@wouterj
Copy link
Member
wouterj commented Apr 8, 2019

@Nyholm you mentioned this issue in your PR. Did we forgot to document how to configure options of adapters?

@Nyholm
Copy link
Member
Nyholm commented Apr 8, 2019

Sorry @sylfabre and @wouterj. I missed that.

Have a look at #11364. That should fix this issue.

javiereguiluz added a commit that referenced this issue Apr 9, 2019
This PR was squashed before being merged into the 3.4 branch (closes #11364).

Discussion
----------

[Cache] Show how to configure redis provider

This will properly fix #10989
Im not 100% confident on the xml configuration.

@nicolas-grekas is this a good description of the Provider?

Commits
-------

120a87e [Cache] Show how to configure redis provider
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cache ⭐️ EU-FOSSA Hackathon https://symfony.com/blog/the-symfony-and-api-platform-hackathon-is-coming
Projects
None yet
Development

No branches or pull requests

4 participants
0