Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Discover how to effectively edge cache GraphQL APIs in this conference talk from GraphQL Galaxy 2021. Explore the inner workings of GraphCDN and learn why caching GraphQL is no longer considered a downside compared to RESTful APIs. Delve into topics such as the story of GraphQL CDN, reasons for caching GraphQL, edge caching possibilities, client-side caching, and various invalidation techniques. Gain insights on list invalidation, manual invalidation, and GraphQL-specific invalidation examples. Examine the concept of normalized cache and its role in GraphQL data structures. Address common concerns about running GraphQL at the edge, including authorization and global invalidation strategies. Enhance your understanding of GraphQL caching techniques and their implementation in modern API architectures.
Syllabus
Introduction
The Story of a GraphQL CDN
Why Cache GraphQL
Can I Cache GraphQL at the Edge
How GraphQL Clients Cache
GraphQL Invalidation
List Invalidation
Creating a New Post
Manual Invalidation
Manual Invalidation Example
GraphQL Invalidation Example
GraphQL Refetch
Normalized Cache
GraphQL Data Structure
GraphQL for Cache
Can I just run GraphQL at the edge
Authorization
Authorization Token
Global Invalidation
Fastly Invalidation
Outro
Taught by
React Conferences by GitNation