dns icon indicating copy to clipboard operation
dns copied to clipboard

cache: remove all expired elements from oldest to newest

Open qdm12 opened this issue 2 years ago • 0 comments

instead of the single oldest element

EDIT: right now the expiry time depends on the current time + lowest ttl of dns answers, so it would need a sorted insertion, which could hurt performance. This doesn't seem like a priority, will check again later.

qdm12 avatar Aug 23 '23 13:08 qdm12