method
new
v3.0.9 -
Show latest stable
- Class:
ActionController::Caching::Actions::ActionCachePath
new(controller, options = {}, infer_extension = true)public
If infer_extension is true, the cache path extension is looked up from the request’s path & format. This is desirable when reading and writing the cache, but not when expiring the cache - expire_action should expire the same files regardless of the request format.