method

read_multi_entries

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: ActiveSupport::Cache::Strategy::LocalCache
read_multi_entries(keys, options) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 130
          def read_multi_entries(keys, options)
            return super unless local_cache

            local_entries = local_cache.read_multi_entries(keys, options)
            missed_keys = keys - local_entries.keys

            if missed_keys.any?
              local_entries.merge!(super(missed_keys, options))
            else
              local_entries
            end
          end
Register or log in to add new notes.