It seems that the TTL cache should reset an item's TTL on a hit, similar
to how a hit
on the LRU cache increases the recency of the item, however upon checking the code it is effectively a no-op. Is this intentional?
I have a branch with a fix that you are welcome to use if it isn't intentional, or I can go through the process of formally submitting a patch.
If it is intentional, should the hit behavior for all caches be no-ops? ie. it is especially surprising that a hit
sometimes extends the life of an item (LRU cache) and sometimes doesn't (TTL cache)