federation icon indicating copy to clipboard operation
federation copied to clipboard

Caching is not working in federation. Pls help us to understand caching in federation. Provide any examples.

Open VijayakumarKupusamy opened this issue 3 years ago • 3 comments

VijayakumarKupusamy avatar Apr 21 '22 14:04 VijayakumarKupusamy

Need to configure caching at federation(SuperGraph) without configuring cache hint at subgraph in apollo server or dynamic cache hint in api resolver code.

VijayakumarKupusamy avatar Apr 21 '22 14:04 VijayakumarKupusamy

Hi @VijayakumarKupusamy. I'm trying to understand exactly what you're trying to do. This is caching in Apollo client? I'm not an expert on that side of things, but I don't think the behavior should be any different with federation and a gateway than connecting directly to apollo server.

clenfest avatar May 16 '22 06:05 clenfest

Contributor Hi @clenfest ,thanks a lot for your reply.

Find the below image of our requirement. image

Kindly resolve the same. Thanks in advance.

VijayakumarKupusamy avatar May 17 '22 14:05 VijayakumarKupusamy