DiskLruCache
DiskLruCache copied to clipboard
Add a lightweight contains( key ) method for quickly checking if a key exists in the cache
Calling get( key ) can be too expensive in some cases as a check if something is in the cache. Providing a light weight, (non-synchronized?) way of checking if a key exists in lruEntries would be very convenient.