Sha256: bbd8d34d172c0504b8a1d28ac157d482e5a0981bfe0c883bf822f672b5667f95
Contents?: true
Size: 309 Bytes
Versions: 34
Compression:
Stored size: 309 Bytes
Contents
module Typhoeus class Hydra module Cacheable def add(request) if request.cacheable? && response = Typhoeus::Config.cache.get(request) response.cached = true request.finish(response) dequeue else super end end end end end
Version data entries
34 entries across 33 versions & 7 rubygems