Recreating urql's GraphQL cache on the edge
watch on portal.gitnation.org ↗https://portal.gitnation.org/contents/recreating-urqls-graphql-cache-on-the-edgesummary
Shows how to implement urql-style GraphQL caching on Cloudflare Workers by proxying requests, detecting mutations in queries, and storing responses in Workers KV. Demonstrates using astexplorer.net to inspect and modify the query AST (for example adding __typename), and discusses strategies for caching subscriptions and invalidating queries after mutations.
AI-written summary · about
related talks
19mBut Can Your GraphQL Client Do This? - A Deep-Dive Into urql
23mHow to edge cache GraphQL APIs
24mHow to cache GraphQL queries at the edge
30mGraphQL And React Native - The urql Edition
37mCaching Deep Dive: The Ultimate Way To Speed up Your GraphQL API
35mGraphQL in the Enterprise
37mGraphQL at the Edge with WebAssembly
52mBuild and Deploy Instant GraphQL APIs to the Edge