patron
patron copied to clipboard
Introduce optional HTTP client caching
Is your feature request related to a problem? Please describe
Ticket #128 will introduce optionally server-side HTTP caching. In order to avoid unnecessarily HTTP server roundtrips, the client can follow the caching instructions from the server, if any exist, and implement a local cache that follows these instructions.
Describe the solution
- Introduce an optional cache to the HTTP client by using the cache from #127
- Make sure we are following issue #128 which follows the RFC
i would like to work on this, if everyone is ok with it
just for consistency , RFC for headers : https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control
On it ...
With the server implementation merged (https://github.com/beatlabs/patron/issues/128), if it's ok ... i ll pick up this one next ...