Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
[Cache] Fix redis adapter config to work with tags#19996
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
xabbuh left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
looks good to me
xabbuh commentedJul 19, 2024
@nicolas-grekas This applies to 5.4 too, right? |
javiereguiluz commentedAug 5, 2024
@xabbuh you are right. This is available since 5.2:symfony/symfony#36596 |
xabbuh commentedAug 6, 2024
Thank you@Huluti. |
nicolas-grekas commentedAug 12, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I'm sorry but this change looks wrong to me. I just created a small app and the previous snippet works well. |
nicolas-grekas commentedAug 12, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@Huluti did you use |
Uh oh!
There was an error while loading.Please reload this page.
I found that to work with redis and tags using this config was not working (tag not set and invalidation not working):
While with this one all was working fine:
Up to you if you think that it makes sense :)