Public Instance methods
build_request(*)
[show source]
# File lib/httpx/plugins/response_cache.rb 94 def build_request(*) 95 request = super 96 return request unless cacheable_request?(request) 97 98 prepare_cache(request) 99 100 request 101 end
clear_response_cache()
wipes out all cached responses from the cache store.
[show source]
# File lib/httpx/plugins/response_cache.rb 90 def clear_response_cache 91 @options.response_cache_store.clear 92 end