Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example needed for cache #1402

Open
skillkrio opened this issue Jan 13, 2024 · 2 comments
Open

Example needed for cache #1402

skillkrio opened this issue Jan 13, 2024 · 2 comments

Comments

@skillkrio
Copy link

skillkrio commented Jan 13, 2024

Hi i am trying to cache graphql api call(InMemory) . I had a function which takes graphql query string. I had written the cache to client.cache.writequery and the seperate function to read them client.cache.readquery. but it has null value while reading them. I had saw the network tab it still calls the api even setting up the cache. Can you provide minimum example for it to not make api call if it's already cached.

@micimize
Copy link
Collaborator

@skillkrio I no longer maintain this project. Also generally, it is better to avoid tagging maintainers directly when initially opening an issue. We all configure our notification preferences already based on our current level of engagement with the project.

@skillkrio
Copy link
Author

skillkrio commented Jan 13, 2024

@skillkrio I no longer maintain this project. Also generally, it is better to avoid tagging maintainers directly when initially opening an issue. We all configure our notification preferences already based on our current level of engagement with the project.

I had removed all the Maintainer tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants