Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache directive #114

Open
AvivRubys opened this issue Nov 21, 2019 · 1 comment
Open

Cache directive #114

AvivRubys opened this issue Nov 21, 2019 · 1 comment
Labels
future Ideas/proposals for the future

Comments

@AvivRubys
Copy link
Contributor

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 AvivRubys added the future Ideas/proposals for the future label Nov 21, 2019
@AvivRubys
Copy link
Contributor Author

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
future Ideas/proposals for the future
Projects
None yet
Development

No branches or pull requests

1 participant