Closed dorgold closed 5 years ago
Well, the key gets accessed when the item gets read or updated, and that's where the LastAccessedUtc field gets set. It is mostly used to track expiration locally and I think its totally fine how and when its set for its purpose.
CacheItem retrieved from Redis Cache has LastAccessedUtc always set to DateTime.UtcNow.
Expected behaviour: LastAccessedUtc should be populated with the last time this Redis key was accessed
This can be implemented using the OBJECT IDLETIME command in Redis