An Introduction to GraphCDN

GraphCDN is a global GraphQL document cache; this means that once you put GraphCDN in front of your backend, any GraphQL response that passes through GraphCDN can be cached according to a set of rules you define.

GraphCDN will always cache the full document, not individual pieces of the response. Because of this, any rule that you configure will always apply to the entire document, not only the specific type it is configured for.

This is important to keep in mind when configuring your Scopes and Cache Rules.

Let's take a look at some example queries, how rules and scopes would apply to the response, how it would be stored in the GraphCDN cache and how (automatic) invalidation would work.

The service we are going to use for those examples is based on the SpaceX API and is publicly available at

Did this page help you?