GraphQL, Cdn, Apollo Engine, Nodejs, API.
Query: { post: (_, { id }, _, { cacheControl }) => { cacheControl.setCacheHint({ maxAge: 60 }); return find(posts, { id }); } } } This is important because this allows the API to specify the expiration of different pieces of data, while maintaining the freedom of the frontend code to specify