Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Request caching #6

Open
doomspork opened this issue Dec 22, 2015 · 2 comments
Open

Request caching #6

doomspork opened this issue Dec 22, 2015 · 2 comments

Comments

@doomspork
Copy link
Owner

How best to handle caching? Should we support individual caching of requests and/or overall endpoint caching? Time based? Header based?

@jcarouth
Copy link
Collaborator

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?

@doomspork
Copy link
Owner Author

So obey Cache-Control but allow people to override it, right? I think that's do-able.

@doomspork doomspork modified the milestone: v0.1.0 Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants