Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

Caching with Instance Variables

#1 Caching with Instance Variables

Mar 04, 2007 | 2 minutes | Performance, Caching
Learn a quick way to improve performance. Just store the end result of an expensive command in an instance variable!
  • Download:
  • mp4Full Size H.264 Video (3.6 MB)
  • m4vSmaller H.264 Video (2.51 MB)
  • webmFull Size VP8 Video (6.36 MB)
  • ogvFull Size Theora Video (5.53 MB)