This is used to set the `cache` to something custom that implements the interface the cache does to store it somewhere else than in process memory.