Cache icon indicating copy to clipboard operation
Cache copied to clipboard

existsObject not optimal

Open spicymatt opened this issue 5 months ago • 0 comments

hi I discovered that existsObject is doing a lot (too much) to return just a Bool. It checks the entry, decodes the object, etc... So if I use the cache to store large images, it would decode an image just to confirm that it exists in the cache Isn't there a less expensive way to check for the presence of an object in the cache ?

Matthieu

spicymatt avatar Jun 05 '25 09:06 spicymatt