Skip to content
Networking·Intermediate·Conceptual·1 min read

Why isn't a GraphQL response as cacheable at the HTTP layer as a REST GET?

Short interview answer

Most GraphQL traffic goes over POST to a single endpoint with a query body, so URL-based HTTP and CDN caching doesn't apply directly; caching typically requires a dedicated layer such as persisted queries or a normalized client cache.

Key takeaway

Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.

← Back to REST, GraphQL, and WebSockets

Related questions