RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: resources xPerformance x
Rails Modularity
Episode #349 – May 09, 2012 – 55 comments

Rails Modularity

Rails is a modular framework allowing you to include only what you need. Here I show how the smallest Rails app works, and then I take a look at how to whittle down a full Rails application stack. (13 minutes)
HTTP Caching
Episode #321 – Jan 30, 2012 – 57 comments

HTTP Caching

With HTTP response headers you can the cache in the user's browser and proxies. Etags, Last-Modified, Cache-Control and Rack::Cache are all covered here (15 minutes)
Charts
Episode #223 – Jul 19, 2010 – 81 comments

Charts

There are a number of libraries to help create graphs. Here I show how to integrate Highcharts into a Rails app. (16 minutes)
Rack in Rails 3
Episode #222 – Jul 12, 2010 – 26 comments

Rack in Rails 3

The router in Rails 3 is fully compatible with Rack. Learn how to embed Sinatra into an app, handle redirects, and improve on Rails Metal. (8 minutes)
Dynamic Page Caching
Episode #169 – Jul 06, 2009 – 79 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)
Touch and Cache
Episode #172 – Jul 27, 2009 – 52 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)
Three Profiling Tools
Episode #161 – May 11, 2009 – 50 comments

Three Profiling Tools

Ever want to know what Rails is doing under the hood during a request? In this episode I show three different profiling tools: New Relic RPM, FiveRuns TuneUp, and Rack::Bug. (7 minutes)
Rails Metal
Episode #150 – Feb 23, 2009 – 44 comments

Rails Metal

Rails Metal is a way to bypass the standard Rails request process for a performance boost. In this episode you will learn how to shave off a few milliseconds using Metal. (9 minutes)
Memoization
Episode #137 – Nov 24, 2008 – 48 comments

Memoization

Rails 2.2 is out! In this episode I show how to upgrade Rails and then demonstrate one of the new additions: Memoization. (5 minutes)
Rake in Background
Episode #127 – Sep 15, 2008 – 62 comments

Rake in Background

In need of a background process? You may be able to accomplish this with a simple Rake task. See how in this episode. (10 minutes)