June 2022 Summaries
1 posts from Wundergraph
Filter
Month:
Year:
Post Summaries
Back to Blog
We've created an open-source GraphQL CDN / Edge Cache solution that allows for vendor-independent caching of GraphQL APIs. Our approach is to use a JSON-RPC compiler to treat GraphQL Operations like "Prepared Statements," and replace HTTP POST for Queries with HTTP GET, while sending the Variables as a Query Parameter. This enables us to automatically enable cache control headers and ETags, which are supported by all cache server solutions. By not caching Objects or requiring complex invalidation logic, we've made it compatible with the web and reduced the attack surface of our application. Our solution is Apache 2.0 licensed, allowing for self-hosting on any platform. We support a wide array of upstream protocols, including GraphQL, REST, gRPC, and databases like PostgreSQL, MySQL, Planetscale, etc. This unified layer of authentication, authorization, and caching simplifies the connection between frontends and multiple services.
Jun 27, 2022
3,090 words in the original blog post.