stitch icon indicating copy to clipboard operation
stitch copied to clipboard

Cache directive

Open AvivRubys opened this issue 6 years ago • 1 comments

I think a kind of @cache(maxAge: '12h') directive makes a lot of sense for agogos as an API gateway, it could also respect HTTP Cache-Control headers for example. There's some thinking to be done about how to cache it exactly, if it's allowed on fields or whole entities, etc.

AvivRubys avatar Nov 21 '19 09:11 AvivRubys

Apollo has done a lot of prior work on this, should probably not re-invent the wheel completely here. https://www.apollographql.com/docs/apollo-server/performance/caching/

AvivRubys avatar Mar 01 '20 12:03 AvivRubys