Skip to content

Is there a way to clear the cache? #1528

Answered by kitten
regirock365 asked this question in Q&A
Discussion options

You must be logged in to vote

Specifically which cache? In Graphcache we'd recommend mutations to selectively use cache.invalidate, and in the default cache, if you do want to wipe everything, we recommend you to recreate the client, which should automatically rerender everything in your app and refetch all data.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@regirock365
Comment options

@haswalt
Comment options

Answer selected by kitten
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants