U:RDoc::AnyMethod[iI"
cache:EFI"+ActionView::Helpers::CacheHelper#cache;FF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"DThis helper to exposes a method for caching of view fragments. ;TI"ESee ActionController::Caching::Fragments for usage instructions.;To:RDoc::Markup::BlankLine o;
;	[I"DA method for caching fragments of a view rather than an entire ;TI"Caction or page.  This technique is useful caching pieces like ;TI"Dmenus, lists of news topics, static HTML fragments, and so on. ;TI"BThis method takes a block that contains the content you wish ;TI"Bto cache.  See ActionController::Caching::Fragments for more ;TI"information.;T@S:RDoc::Markup::Heading:
leveli	:	textI"Examples;To;
;	[I"@If you wanted to cache a navigation menu, you could do the ;TI"following.;T@o:RDoc::Markup::Verbatim;	[I"<% cache do %>
;TI"(  <%= render :partial => "menu" %>
;TI"<% end %>
;T:@format0o;
;	[I")You can also cache static content...;T@o;;	[I"<% cache do %>
;TI"5   <p>Hello users!  Welcome to our website!</p>
;TI"<% end %>
;T;0o;
;	[I"4...and static content mixed with RHTML content.;T@o;;	[
I"<% cache do %>
;TI"  Topics:
;TI"F  <%= render :partial => "topics", :collection => @topic_list %>
;TI"+  <i>Topics listed alphabetically</i>
;TI"<% end %>;T;0:
@fileI",lib/action_view/helpers/cache_helper.rb;T:0@omit_headings_from_table_of_contents_below00I" ;T[ I"'(name = {}, options = nil, &block);T@5FI"CacheHelper;FcRDoc::NormalModule0