I have a scenario where I plan to set the Azure Redis Cache entry expiration time to ensure we don't keep data that is known to be of no value after a specific point in time, e.g.
cache.StringSet(this.cacheId, this.Serialize(), expiry);
Also, the intent would be to keep the Redis cache performance from in any way being impacted by containing more entries than those that are actually of use.
Does Azure Redis flushes entries as when they have hit a defined expiration time or does it only do that when pressured to reduce in memory footprint and backend persistent storage?