GraphQL: Design a cache layer
Design server cache to store GraphQL nodes.
- Create a cache schema directive for both fields and objects
- Directive args: maxAge, scope
General
- Will be useful for GraphQL lavel pagination.
- Reuse the pattern used by Relay clients.
- https://aiocache.aio-libs.org/en/latest/index.html can be used