Does expiry date have any affect in MemoryCacheClient?
c#, servicestack
Solution
If you've registered to use ServiceStack's RedisClient as the ICacheClient cache provider then only the Redis Client will be used for all caching, and any API call that includes an expiryDate just gets forwarded to Redis.
This doesn't affect `MemoryCacheClient` simply because it doesn't get used, only the one you've registered in your IOC does. Although when using the MemoryCacheClient the entries aren't automatically expired behind-the-scenes but instead are invalidated manually whenever access to an expired entry is attempted.
Problem
If `XRedisClientManager` is used for ServiceStack cache, then redis itself will be able to enforce the lifetime. This isn't going to have any affect if `MemoryCacheClient` is used instead, right?