method
cache_page
v1.1.6 -
Show latest stable
- Class:
ActionController::Caching::Pages
cache_page(content = nil, options = {})public
Manually cache the content in the key determined by options. If no content is provided, the contents of @response.body is used If no options are provided, the current options for this action is used. Example:
cache_page "I'm the cached content", :controller => "lists", :action => "show"