Stellate Edge Cache is a global GraphQL document cache; this means that once you put Stellate Edge Cache in front of your backend, any GraphQL response that passes through our systems can be cached according to a set of rules you define.
Stellate Edge Cache 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 Stellate Edge 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 spacex-api.stellate.sh.
Updated 2 months ago