instance method new_local_cache

Ruby on Rails 8.1.2

Since v8.1.2

Signature

new_local_cache()

Set a new local cache.

Source
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 72
        def new_local_cache
          LocalCacheRegistry.set_cache_for(local_cache_key, LocalStore.new)
        end

Defined in activesupport/lib/active_support/cache/strategy/local_cache.rb line 72 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::Cache::Strategy::LocalCache

Type at least 2 characters to search.

↑↓ navigate · open · esc close