▶   We’ve been acquired by Pluralsight!   ▶   Upgrade your account to Pluralsight   ▶   More details…

Page, Action, and Fragment Caching

Preview

Download Free Preview

Purchase includes Quicktime (zip) download Purchase includes iPod download

Sometimes your web application can be slow. Or you have a surge of traffic. Or you want to run your site on slow hardware or a shared host. For those times you need caching. Learn the required skills with the Rails Page, Action, and Fragment Caching tutorial.

Ruby on Rails comes with page, action, and fragment caching built-in. You can use these techniques on single pages or in combinations across the pages of your application.

This Rails caching tutorial show you how to use all three and points out a few troubleshooting tips along the way.

Now with a convenient chapter menu! This is a free update for anyone who purchased this screencast in the past.

Source code included. Uses the current Rails 1.2.2. Purchase includes access to Quicktime 7 and iPod-ready versions. Subscriptions are also available.

Part II of our Rails Caching tutorials”:http://peepcode.com/products/benchmarking-with-httperf where you’ll learn how to benchmark a full Rails stack with httperf (authored together with Zed Shaw).

Script

Minute Mark Topic
0 Caching Basics
2 Theory
5 Setup
21 Page Caching
28 Sweeping
52 Strategies
56 Tips
1:03 Action Caching
1:20 Fragment Caching
1:31 Resources
1:32 Benchmarking Preview

Skills

This is an intermediate topic and assumes that you have built at least one Rails application. A simple application is built from scratch, and caching techniques are applied to it.

Revision 2 (Notes) · Updated: Jan 07, 2011 · Length: 92 min · 95 MB

Screencast Catalog