Showing 2 videos tagged with cache

Railscasts - Touch and Cache

00:06:38 railscasts.com
Rails 2.3.3 brings us a new feature called "touch". See how to use this to auto-expire associated caches in this episode.
Tags:

Railscast - Episode 23: Counter Cache Column

00:07:18 railscasts.com
If you need to display the record count for a has_many association, you can improve performance by caching that number in a column.