Making upload "provider" asynchronous

I am using Strapi with a custom Backblaze provider. My problem is that whenever I upload an image (either through backend or the API), the upload call does not return till it has finished uploading all versions (small, medium, large, etc.) of the image.

Obviously, this does not make for a very responsive API. Is it possible to make the “upload to provider” process asynchronous? That is, the upload call should return as soon as the image has been uploaded to Strapi. Strapi can then continue uploading the image to the remote provider behind the scenes?

Is this possible? Would appreciate any help with this.

2 Likes

Currently no (because it’s expected there would be a response giving you information as to where the image is and it’s metadata assigned).

But I’ll ping @Jab and @sam-pires to see what they think