method
cached_size
v7.1.3.4 -
Show latest stable
- Class:
ActiveSupport::Cache::MemoryStore
cached_size(key, payload)private
No documentation available.
# File activesupport/lib/active_support/cache/memory_store.rb, line 193
def cached_size(key, payload)
key.to_s.bytesize + payload.bytesize + PER_ENTRY_OVERHEAD
end