![RailsCasts (Mobile) show](https://d3dthqtvwic6y7.cloudfront.net/podcast-covers/000/035/010/small/railscasts-mobile.jpg)
Summary: The cache_digests gem (also included in Rails 4) will automatically add a digest to the fragment cache key based on the template. If a template changes the cache will auto-expire. But watch out for the gotchas!
Summary: The cache_digests gem (also included in Rails 4) will automatically add a digest to the fragment cache key based on the template. If a template changes the cache will auto-expire. But watch out for the gotchas!