Skip to content
Disk caching for open-uri
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib/open-uri
.gitignore
LICENSE
README.markdown
open-uri-cached.gemspec

README.markdown

OpenURI with caching

Carelessly make OpenURI requests without getting hate mail.

Usage

Require the library

require 'open-uri/cached'
open('http://www.someone-that-hates-being-scraped.com').read

Configuring

OpenURI::Cache.cache_path = '/tmp/open-uri'

Something went wrong with that request. Please try again.