-
Notifications
You must be signed in to change notification settings - Fork 973
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
docs: Adds GraphQL Caching docs for Client and Response caching #10054
Conversation
@dthyresson looking good just pushed up a few fixes. I just saw that it seems like some of this content is duplicated between here and another GraphQL docs: Line 871 in 95ba45c
(On the docs site, https://redwoodjs.com/docs/graphql#usecache.) Does that shed any light on what happened? Also what should we do about the header in the GraphQL fragments doc? Link to these? redwood/docs/docs/graphql/fragments.md Line 179 in 95ba45c
|
Good point. I missed that. I added a note and link to the |
When v7 documentation was deployed, somehow the `useCache` hook documentation for interacting with the Apollo Client cache was omitted (or I lost it). This PR Adds a Caching sidebar to the GraphQL documentation to cover both client and server (aka response) caching. ![image](https://github.com/redwoodjs/redwood/assets/1051633/90036d5a-934a-4be8-93b6-d79a876e9348) --------- Co-authored-by: Dominic Saadi <dominiceliassaadi@gmail.com> Co-authored-by: Josh GM Walker <56300765+Josh-Walker-GM@users.noreply.github.com>
When v7 documentation was deployed, somehow the `useCache` hook documentation for interacting with the Apollo Client cache was omitted (or I lost it). This PR Adds a Caching sidebar to the GraphQL documentation to cover both client and server (aka response) caching. ![image](https://github.com/redwoodjs/redwood/assets/1051633/90036d5a-934a-4be8-93b6-d79a876e9348) --------- Co-authored-by: Dominic Saadi <dominiceliassaadi@gmail.com> Co-authored-by: Josh GM Walker <56300765+Josh-Walker-GM@users.noreply.github.com>
When v7 documentation was deployed, somehow the
useCache
hook documentation for interacting with the Apollo Client cache was omitted (or I lost it).This PR Adds a Caching sidebar to the GraphQL documentation to cover both client and server (aka response) caching.