Introduction to caching

Skylark has CDN edge caching on all queries by default, with a 60 second TTL.

Cache invalidation

Cache invalidation is handled automatically when a mutation is made.

On create or update of an object, all caches that include type being created or updated are purged. The change will take effect within seconds of the mutation completing.

Bypassing the cache

It is also possible to completely bypass the cache using the header x-bypass-cache.