Flowdock
method

cache_page

Importance_1
v2.0.3 - Show latest stable - 0 notes - Class: ActionController::Caching::Pages
cache_page(content = nil, options = nil) 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 requested url is used. Example:

  cache_page "I'm the cached content", :controller => "lists", :action => "show"
Show source
Register or log in to add new notes.