ghostdogpr / caliban

Functional GraphQL library for Scala

Home Page:https://ghostdogpr.github.io/caliban/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Apollo Caching implementation is obsolete

paulpdaniels opened this issue · comments

The current implementation apollo caching uses an outdated method that relies on schema extensions. However, this has been superceded and should now actually be returned via the Cache-Control header in http. We'll still need to compute the cache control via wrapper but will then need to do an additional step in the TapirAdapter to convert that extension into a single cache-control header.

https://www.apollographql.com/docs/apollo-server/performance/caching/#calculating-cache-behavior