module ActiveSupport::Cache::MemoryStore::DupCoder

def load(entry)

def load(entry)
  if !entry.compressed? && entry.value.is_a?(String)
    Cache::Entry.new(load_value(entry.value), expires_at: entry.expires_at, version: entry.version)
  else
    entry
  end
end