-
Notifications
You must be signed in to change notification settings - Fork 575
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
Caching for GraphQL servers #175
Comments
RIght now, there's the Apollo Caching system. However, there isn't any open source projects that I know of that implement this. Only Apollo Engine, which is a black box. Caching on the edge is also important. That is probably beyond the implementation of Yoga, but should be considered when building something out. |
Caching built into the bindings makes more since for me than caching the queries themselves.
|
Due to inactivity of this issue we have marked it |
There is an official apollo server doc on using a Memcached/Redis cache backend. But looks like no further info on how to integrate with yoga... |
Due to inactivity of this issue we have marked it |
Hey 👋, It seems like this issue has been inactive for some time. In need for maintaining clear overview of the issues concerning the latest version of |
Hey, @Urigo from The Guild here! You might know us from projects such as graphql-code-generator, envelop or graphql-tools. For a long time we thought that the Javascript ecosystem is still missing a lightweight cross-platform, but still highly customizable GraphQL Server. In the past the awesome Prisma team took on that great challenge and now we are happy to announce that we are continuing them and just released GraphQL Yoga 2.0 - Build fast, extensible, and batteries-included (Subscriptions, Serverless, File uploads support) GraphQL APIs in Node.js 🚀 As for the issue here, Yoga uses Envelop's plugin system and marketplace of plugins, which includes the response cache plugin, here is a short video explaining it: https://graphql.wtf/episodes/34-response-cache-plugin-with-envelop We have been working a long time on version 2.0 and have been using it in our clients projects for a few months now and shared a couple of alpha cycles here. Please try Yoga out again, give us feedback and help us spread the word on the new release! |
While building GraphQL servers has become very easy, caching in GraphQL servers is still a fairly unexplored topic.
To start a conversation around this topic, I've listed a few ideas that came to mind. Ideally some of these ideas might eventually turn into actual libraries the GraphQL community can use:
Ideas:
Relevant links:
The text was updated successfully, but these errors were encountered: