Skip to content

existsObject not optimal #343

@spicymatt

Description

@spicymatt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions