Is there a Ruby http client library where responses are automatically cached by ETag and the If-Non-Match header applied to r开发者_如何学Pythonequests on previously used URLs?
You might want to check the list of "Ruby HTTP clients features" (archived version from January 2015) for a complete overview.
Take a look at Faraday-HTTP-Cache.
rufus-jig supports conditional GET.
精彩评论