ActionView::Helpers::CacheHelper
module ActionView::Helpers::CacheHelper
Public Instance Methods
This helper exposes a method for caching fragments of a view rather than an entire action or page. This technique is useful caching pieces like menus, lists of new topics, static HTML fragments, and so on. This method takes a block that contains the content you wish to cache.
The best way to use this is by doing key-based cache expiration on top of a cache store like Memcached that'll automatically kick out