17

Is there a Ruby http client library where responses are automatically cached by ETag and the If-Non-Match header applied to requests on previously used URLs?

joshuanapoli
  • 2,509
  • 3
  • 25
  • 34

3 Answers3

16

You might want to check the list of "Ruby HTTP clients features" (archived version from January 2015) for a complete overview.

awendt
  • 13,195
  • 5
  • 48
  • 66
1

Take a look at Faraday-HTTP-Cache.

dkam
  • 3,876
  • 2
  • 32
  • 24
0

rufus-jig supports conditional GET.

Simone Carletti
  • 173,507
  • 49
  • 363
  • 364