Configuration for a new Cache instance.
(id: string | number) => stringA function which generates a cache key from the given id. This key will be used to store the value in the cache.
By convention, the key should be namespaced to avoid conflicts.
Example
SetCacheKeyOptionsOptions available when setting the value in the cache.