RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: caching x
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)
Fragment Caching
Episode #90Jan 27, 200842 comments

Fragment Caching

Sometimes you only want to cache a section of a page instead of the entire page. Fragment caching is the answer as shown in this episode. (6 minutes)
MiniProfiler
Episode #368Jul 24, 2012107 comments

MiniProfiler

MiniProfiler allows you to see the speed of a request conveniently on the page. It also shows the SQL queries performed and allows you to profile a specific block of code. (9 minutes)
Capistrano Recipes
Episode #337Mar 27, 2012138 comments

Capistrano Recipes

Get the most out of Capistrano by writing specific recipes with ERB templates. Here I show how to deploy to a blank VPS by running just a few Capistrano commands. (13 minutes)
Rails Middleware Walkthrough
Episode #319Jan 23, 2012117 comments

Rails Middleware Walkthrough

Here I describe each Rack middleware that is included in a Rails app which will give you a better understanding of what a request goes through behind the scenes before it hits your application. (14 minutes)
Client-Side Performance
Episode #369Jul 24, 201260 comments

Client-Side Performance

Optimizing Rails performance can only take you so far. The client-side plays a big part in how fast a page feels. Here I show many tools that can help make your apps faster than ever. (14 minutes)
Asset Pipeline in Production
Episode #341Apr 11, 201266 comments

Asset Pipeline in Production

The Asset Pipeline is very useful, but it can be a pain in production. Here I show why it works the way it does, and how to customize it to fit your deployment setup. (13 minutes)
Offline Apps Part 1
Episode #247Jan 03, 201136 comments

Offline Apps Part 1

Learn how to make a site usable offline through an HTML 5 cache manifest. This first part of the series covers rack-offline and problems you may run into. (10 minutes)
Counter Cache Column
Episode #23Apr 25, 200769 comments

Counter Cache Column

If you need to display the record count for a has_many association, you can improve performance by caching that number in a column. (7 minutes)