method

cache_page

Importance_1
v3.1.0 - Show latest stable - 0 notes - Class: ActionController::Caching::Pages::ClassMethods
cache_page(content, path, extension = nil) public

Manually cache the content in the key determined by path. Example:

cache_page "I'm the cached content", "/lists/show"
Show source
Register or log in to add new notes.