@Ulriksen
Steps to reproduce:
- Set your in-memory cache's size to 1 MB and a default TTL of 5 minutes.
- Store a bunch of items in your cache so that they total >1 MB. The oldest ones will be evicted from your in-memory cache but will stay resident in Redis.
- Wait ~4 minutes.
- Request the oldest item again, which should pull it from Redis into your in-memory cache.
What should happen: The cached item's TTL should be ~1 minute in both Redis and in-memory.
What actually happens: The cached item's TTL is 5 minutes in-memory and ~1 minute in Redis.