Replies: 2 comments
-
It’s not currently possible to invalidate a single query’s result cache. Query caches do automatically get invalidated whenever a referenced element gets updated, though. Is that good enough, or is there some reason you need direct control? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I see, actually yes, because I have a gql query to show the recommended entries. So basically I have a custom table that store the entries and the recommended entries id, and every 2 hours it will be regenerated. But anyway thanks for the answer. |
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
-
I have a custom query for graphQL and also I enable the gql cache.
I wanted on specific period of time to clear all cache for that custom query without clearing the whole gql cache.
Is it something possible to achieve?
Beta Was this translation helpful? Give feedback.
All reactions