Closed tietoevry-johan closed 1 year ago
@tietoevry-johan Thanks for your interest in this project.
In EasyCaching, only interceptor contains cache key generator IEasyCachingKeyGenerator
.
When you call method Set(Async)
or Get(Async)
, the cache key was defined by yourself.
@catcherwong alright, thanks for the update and a nice library :)
Description
Hi, is there any way override the cache key generator?
It's a similar use case to https://github.com/dotnetcore/EasyCaching/issues/445, but I would just like to inject my tenant context in to the cache key generator and add the tenant ID as a prefix.
Specifications