Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[Cache] Enable namespace-based invalidation by prefixing keys with backend-native namespace separators#59813
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
ba82917
to1e71a0c
CompareIf |
1e71a0c
to0ca7660
Compare@stof you're totally right! I removed |
904427d
to349fa7b
CompareReady. Tests should be green after merge. |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
b733583
to80e4605
Compareda4eacf
tob9b63de
Compare…ckend-native namespace separators
b9b63de
to81a8ceb
ComparePR ready (failures will be fixed by merging) |
Any comment @symfony/mergers ? |
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.
❤️
6ef1ab4
intosymfony:7.3Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
This PR adds a
NamespacedPoolInterface
that describes how one can add namespace prefixes to cache pool keys.This solves#45599 by allowing to use the
:
separator for Redis:Most importantly, this enables namespace-based cache invalidation, typically with namespaces generated by hashing some context.