简体   繁体   中英

Show images from Amazon S3 private bucket in frontend using Node js Vue js

i tried getting the Buffer from Amazon S3 image then i converted into base64 string and sent to the frontend. It worked well, it shows the image in the page, but the problem is the long time of proccesing base64. How to make a workaround which will be much faster than base64?

You can generate s3 signed URL link for each image and send the links to the front end. Now, the front end can make respective calls to fetch all images.

This will reduce the time that backend does for the processing.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM