New to Rails 3? Check out the Ruby on Rails 3 Tutorial book and screencast.

A book and screencast series showing you how to develop and deploy industrial-strength Rails apps in a direct, step by step way. The screencast series includes 12 lessons over more than 15 hours! Get the best "over the shoulder" experience of following what a top Rails 3 developer does when building an app today. Click here to learn more.

A New Guide to Caching with Rails

In Documentation

As part of the Rails Guides project, Aditya Chadha has written Caching with Ruby on Rails. It's not on the Rails Guide at the time of writing, but he's posted it on his blog to get the ball rolling. It was described by Hacker News readers as "good for meat and potatoes description of how to use caching" and "pretty informative" so check it out.

One of Aditya's goals was to present the most up to date info on caching in Rails as an antedote to all of the antiquated blog posts out there. The guide covers:

  • Turning caching on (gotta start somewhere!)
  • Page caching
  • Action caching
  • Fragment caching
  • Sweepers
  • SQL caching
  • Cache stores
  • Conditional GET support

You basically only get one example of each, but if you're not up to date with your Rails caching techniques, it'll bring you up to date with a modern way to do things.

Post to Twitter Tweet This Post

Vaguely Related Posts (Usually)

Leave a Reply