A cache API used to make custom cache implementations.
Gets the actual value from the cache identified by the given key.
Writes the given value to the cache by the given key.