Any recommended strategies for cache invalidation #218
Unanswered
michaelbukachi
asked this question in
Usage Questions
Replies: 1 comment 3 replies
-
|
cc @jvanasco , IIRC he has a lot of opinions on this |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This question might not be specific to this library but just a general question. Are there any recommended approaches for cache invalidation when relationships (related data) are involved?
E.g
How would we go about invalidating a user when we update one of their roles? I'm able to invalidate all users when a role is updated, however, I don't think that is ideal. I'm using the official example as a reference.
Note: Assume no lazyloading is being used i.e only eagerloading
Beta Was this translation helpful? Give feedback.
All reactions