title: Does Azure Redis Cache flushes items when expiration hit
body: <p>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.  </p>
  
  <pre><code>cache.StringSet(this.cacheId, this.Serialize(), expiry);
  </code></pre>
  
  <p>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.</p>
  
  <p>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?</p>