Module | ActionController::Caching::Pages::ClassMethods |
In: |
lib/action_controller/caching.rb
|
Manually cache the content in the key determined by path. Example:
cache_page "I'm the cached content", "/lists/show"
Caches the actions using the page-caching approach that‘ll store the cache in a path within the page_cache_directory that matches the triggering url.