You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running into an issue where the apollo supergraph's caching does not work, but the underlying supgraphs just work fine.
When executing
query a {
foo
}
I get response header cache-control: no-store
When executing
query b {
products {
name
}
}
I get response header cache-control: max-age=500, public
When executing
query c {
foo
products {
name
}
}
I get response header cache-control: max-age=500, public
Problem 1: I cannot seem to make the cache work for query foo
Problem 2: When querying foo with any other cached subgraph query, it just applies the cacheControl of that query to the whole response, but IMO it should compute the correct restrictive one.