Edge Caching

Does Fly implement a version of edge caching like Vercel? We’re sending responses with cache headers, but they are not getting cached anywhere so I was confused whether something like this existed. After reading this article Apollo GraphQL + Edge Caching · Fly Docs, it made it sound like fly has edge caching built in when there are cache-control headers present.

We don’t have any baked in edge caching, though many people run nginx or Varnish on Fly to build their own. Kind of like this: The 5-hour CDN · Fly

That Apollo example is using Redis for caching, it’s application level caching. HTTP caching usually doesn’t work well for GraphQL.

2 Likes

Thanks Kurt!