HomePhorge

Introduce a serializing key-value cache proxy

Description

Introduce a serializing key-value cache proxy

Summary:
Ref T11954. I want to store some lists/arrays in the mutable (database) cache, but it only supports string storage.

Provide a serializing wrapper which flattens when values are written and expands them when they're read.

Test Plan: Used by D16997. See that revision.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11954

Differential Revision: https://secure.phabricator.com/D16999

Details

Provenance
epriestleyAuthored on Dec 6 2016, 4:59 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPf8d6b6181eb4: Use PhabricatorCachedClassMapQuery when querying object PHID types
Branches
Unknown
Tags
Unknown

Event Timeline