Max Age (or TTL) of a type or custom resolver

Could you take a look at this RFC on persisted queries and caching? It might solve your problem or give a way around. There are two related PRs which are close to completion:

  1. feat(Query): Enable persistent queries in dgraph
  2. feat(Query): Add cacheControl directive that adds headers in the response

Cheers

1 Like