Disk caching for open-uri
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/open-uri Minor golfage Jan 8, 2012
.gitignore Initial checkin Feb 26, 2010
LICENSE Initial checkin Feb 26, 2010
README.markdown Initial checkin Feb 26, 2010
open-uri-cached.gemspec Up version num May 19, 2011

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'