patron icon indicating copy to clipboard operation
patron copied to clipboard

Introduce optional HTTP client caching

Open mantzas opened this issue 5 years ago • 4 comments

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

mantzas avatar Jan 02 '20 11:01 mantzas

i would like to work on this, if everyone is ok with it

drakos74 avatar Mar 02 '20 10:03 drakos74

just for consistency , RFC for headers : https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control

drakos74 avatar Mar 02 '20 10:03 drakos74

On it ...

drakos74 avatar Mar 09 '20 18:03 drakos74

With the server implementation merged (https://github.com/beatlabs/patron/issues/128), if it's ok ... i ll pick up this one next ...

drakos74 avatar Jul 24 '20 09:07 drakos74