Method: ActiveSupport::Cache::Strategy::LocalCache#middleware
- Defined in:
- activesupport/lib/active_support/cache/strategy/local_cache.rb
#middleware ⇒ Object
Middleware class can be inserted as a Rack handler to be local cache for the duration of request.
73 74 75 76 77 |
# File 'activesupport/lib/active_support/cache/strategy/local_cache.rb', line 73 def middleware @middleware ||= Middleware.new( "ActiveSupport::Cache::Strategy::LocalCache", local_cache_key) end |