module

ActiveSupport::Cache::Strategy::LocalCache

v6.1.7.7 - Show latest stable

Caches that implement LocalCache will be backed by an in-memory cache for the duration of a block. Repeated calls to the cache for the same key will hit the in-memory cache for faster access.

Files

  • activesupport/lib/active_support/cache/strategy/local_cache.rb
  • activesupport/lib/active_support/cache/strategy/local_cache_middleware.rb

Nested classes and modules