lib/action_controller/caching.rb in actionpack-4.2.11.3 vs lib/action_controller/caching.rb in actionpack-5.0.0.beta1
- old
+ new
@@ -1,16 +1,15 @@
require 'fileutils'
require 'uri'
-require 'set'
module ActionController
# \Caching is a cheap way of speeding up slow applications by keeping the result of
# calculations, renderings, and database calls around for subsequent requests.
#
# You can read more about each approach by clicking the modules below.
#
- # Note: To turn off all caching, set
+ # Note: To turn off all caching provided by Action Controller, set
# config.action_controller.perform_caching = false
#
# == \Caching stores
#
# All the caching stores from ActiveSupport::Cache are available to be used as backends
@@ -44,10 +43,9 @@
def cache_configured?
perform_caching && cache_store
end
end
- include RackDelegation
include AbstractController::Callbacks
include ConfigMethods
include Fragments