Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

How to Edge Cache GraphQL APIs

React Conferences by GitNation via YouTube

Overview

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

Reviews

Start your review of How to Edge Cache GraphQL APIs

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.