Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 store
Octocat-spinner-32 README
README
Railscasts Episode #115: Caching in Rails 2.1

http://railscasts.com/episodes/115


Console Commands

  Rails.cache.write('date', Date.today)
  Rails.cache.read('date')
  Rails.cache.fetch('time') { Time.now }
  cache = ActiveSupport::Cache.lookup_store(:mem_cache_store)
  product = Product.first
  product.cache_key
Something went wrong with that request. Please try again.