Help out: share this site!

Latest Screencasts

Touch and Cache

Railscasts - 2009-07-27 - free

Rails 2.3.3 brings us a new feature called "touch". See how to use this to auto-expire associated caches in this episode. Watch this screencast


Dynamic Page Caching

Railscasts - 2009-07-06 - free

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. Watch this screencast


Episode #11 - Advanced HTTP Caching

Scaling Rails Series - 2009-02-26 - free

Once you have a firm grasp of the 3 header tags we talked about in the previous episode (max-age, etags, and last_modified) you can start to take advantage of reverse proxy caches. In this episode we let you know exactly what a proxy cache is, and how you might use it to effectively scale a dynamic website to millions of users. Watch this screencast


Episode #10 - Client-side Caching

Scaling Rails Series - 2009-02-25 - free

Once you’ve done all the server side caching you can possibly do, you might want to take a look back at the client side of things to do some advanced client-side caching.  In this episode we’ll show how to effectively use the max-age, etag, and last_modified helpers to scale your application. Watch this screencast


Episode #8 - Memcached

Scaling Rails Series - 2009-02-19 - free

Most of the big Web 2.0 websites rely on memcached (pronounced "Memcache-Dee") to scale, even the ones not using Rails. In this screencast you’ll learn how easy it is to use memcached in your Rails application, and how to do low level query caching for websites where you have highly customized layouts. Watch this screencast


Episode #7 - Fragment Caching

Scaling Rails Series - 2009-02-09 - free

If there’s no way to cache the entire content of a page, then odds are you can probably cache smaller pieces of it.  This is where fragment caching comes in, allowing you to cache common parts of a webpage which are resource intensive and may be used accross mulitple pages. Watch this screencast


Episode #5 - Advanced Page Caching

Scaling Rails Series - 2009-02-05 - free

Page caching is pretty simple to do, but what happens when you need pagination or dynamic data on your pages? Can you still use page caching? In this screencast we’ll start out showing how to solve these problems and finish up with my first rant of the series "Login status is overrated." Watch this screencast


Episode #2 - Page Caching

Scaling Rails Series - 2009-01-22 - free

Ruby on Rails comes with several caching mechanisms out of the box, starting with Page Caching. In this episode we show how to implement Page Caching in a simple blog application. Watch this screencast


Memoization

Railscasts - 2008-11-24 - free

Rails 2.2 is out! In this episode I show how to upgrade Rails and then demonstrate one of the new additions: Memoization. Watch this screencast


Caching in Rails 2.1

Railscasts - 2008-06-23 - free

Rails 2.1 brings some new caching features which makes it very easy to cache any values including models. See how in this episode. Watch this screencast