-

WG Day:

Fremont, California
Back to Schedule

Uri Goldshtein

Caching Deep Dive: The Ultimate Way To Speed up Your GraphQL API

Boardroom
Tooling + DX + Testing + Documentation

Session description

What we will cover: The "All-or-Nothing" Barrier: We'll analyze the limitations of traditional Document Caching in GraphQL. We will explain why a single personalized field or a volatile "live" value can invalidate an entire response, leading to low cache hit rates and overloaded origin servers. Partial Query Caching (PQC) Architecture: We will introduce a granular approach to caching. You'll learn how to decompose complex queries into atomic components, separating static fragments from dynamic ones within the same request to dramatically boost cache efficiency. The Power of the Edge: We'll discuss the benefits of moving the "split-and-merge" logic to the Edge. We will explain how an intelligent Gateway can manage this complexity close to the user, saving expensive compute resources at the origin and reducing latency. The Next Frontier: PQC meets @defer: To wrap up, we'll demonstrate how combining caching with the GraphQL @defer directive allows us to return cached fragments in milliseconds while streaming the remaining dynamic parts as they resolve.


Session speakers

Uri Goldshtein

The Guild, CEO

returning speaker

Get your ticket

Join two transformative days of expert insights and innovation to shape the next decade of APIs!

Get tickets
COMMUNITYDEVELOPER EXPERIENCEAPIsTOOLS & LIBRARIESCOMMUNITYDEVELOPER EXPERIENCEAPIsTOOLS & LIBRARIES
OPEN SOURCEFEDERATIONECOSYSTEMSTRACING & OBSERVABILITYOPEN SOURCEFEDERATIONECOSYSTEMSTRACING & OBSERVABILITY
BEST PRACTICESSCHEMASSECURITYBEST PRACTICESSCHEMASSECURITY