Open doomspork opened 8 years ago
Yeah this is a tricky one. I think we should support caching at the individual request level. We also have to consider that since this is essentially wrapping other APIs we have that layer of caching to obey/consider as well. In my opinion Hydra should allow for the definer to specify a time-based expiration of Hydra caching, but we should also utilize caching mechanisms from the individual requests within a combined endpoint.
So that makes configuration even more complicated depending on the APIs being combined. Or am I way overthinking this?
So obey Cache-Control
but allow people to override it, right? I think that's do-able.
How best to handle caching? Should we support individual caching of requests and/or overall endpoint caching? Time based? Header based?