FeatureFuel
3

storage createSignedUrl / createSignedUrls speedup

Source: supabase/supabase#28692 · opened by @gc-ft
Hi, the storage API's createSignedUrls interface is relatively "slow". For just a handful of Urls to sign it takes over half a second. In today's age of fast responding websites I would consider this slow. After checking the code there seems to be a rather simple "speedup" fix, at least as an optional variable to the API calls: For both a single object and for the multiple objects at once setup the system will verify that the objects in question exist and only then build a signed url. This process does not use anything from the findObject / findObjects calls, actually signObjectUrl depends on the findObject call to throw NoSuchKey error if objects are not found to stop the process since it is not caught in signObjectUrl. I understand why this seems beneficial to do, however, if I am SURE that my objects exist (because I checked before) or similar reasons, why even check if they are there? Later on when the signed url is called to actually load…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests