RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: caching xFree Episodes x
Cache Digests
Episode #387Oct 20, 201291 comments

Cache Digests

The cache_digests gem (also included in Rails 4) will automatically add a digest to the fragment cache key based on the template. If a template changes the cache will auto-expire. But watch out for the gotchas! (7 minutes)
Upgrading to Rails 4
Episode #415May 06, 2013211 comments

Upgrading to Rails 4

With the release of Rails 4.0.0.rc1 it's time to try it out and report any bugs. Here I walk you through the steps to upgrade a Rails 3.2 application to Rails 4. (12 minutes)
Dynamic Page Caching
Episode #169Jul 06, 200979 comments

Dynamic Page Caching

Use JavaScript to allow dynamic content in a page cache. In this episode I show you how to insert the user-specific content into a page through JavaScript. (11 minutes)
Bullet
Episode #372Aug 09, 201260 comments

Bullet

Bullet will notify you of database queries that can potentially be improved through eager loading or counter cache column. A variety of notification alerts are supported. (6 minutes)
Touch and Cache
Episode #172Jul 27, 200952 comments

Touch and Cache

Rails 2.3.3 brings us a new feature called "touch". See how to use this to auto-expire associated caches in this episode. (6 minutes)
Caching in Rails 2.1
Episode #115Jun 23, 200878 comments

Caching in Rails 2.1

Rails 2.1 brings some new caching features which makes it very easy to cache any values including models. See how in this episode. (8 minutes)
Facebook Authentication
Episode #360Jun 25, 2012196 comments

Facebook Authentication

This will show how to create a new facebook application and configure it. Then add some authentication with the omniauth-facebook gem and top it off with a client-side authentication using the JavaScript SDK. (12 minutes)
What's New in Rails 4
Episode #400Jan 04, 2013115 comments

What's New in Rails 4

Rails 4.0 is still unfinished, but it is shaping up to become a great release. Here I show how to setup a new Rails 4.0 (edge) application and walk through many of its new features. (20 minutes)
Page Caching
Episode #89Jan 20, 200834 comments

Page Caching

Page caching is an efficient way to cache stateless content. In this episode I will show you how to cache the dynamic javascript we created last week. (6 minutes)
Action Caching
Episode #93Feb 17, 200837 comments

Action Caching

Action caching behaves much like page caching except it processes the controller filters. You can also make it conditional as seen in this episode. (7 minutes)