If the key generator is guaranteed to provide a unique key, it can be used as the cache key directly. Add a setter to support this option.
If the key generator is guaranteed to provide a unique key, it can be used as the cache key directly. Add a setter to support this option.