Replies: 1 comment
-
Hey @joarobles - right now, no. Writes do not invalidate cache. What you can do if you need higher consistency on some queries is use the consistency preference. See https://openfga.dev/docs/interacting/consistency Note, only use this when you need to as it would cause that query to bypass any caching in place, causing higher latency for the request and higjer load on the OpenFGA server. |
Beta Was this translation helpful? Give feedback.
0 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.
-
I was reading the docs about Cache Configuration and found out about the Cache Controller, but I wonder if write operations themselves invalidate the cache, or if there is a way to clear the cache (mayber for a certain Store ID) using the API.
Beta Was this translation helpful? Give feedback.
All reactions