简体   繁体   中英

Reduce size of a presigned url

Displaying a list containing pre-signed urls of images. It takes time to load the images. Is there a way to reduce the size of the image or a way to load the images faster.

Tried converting the image to a canvas to reduce the size of the image. But still takes longer for the image to load

Image optimization is a broad topic, you can maybe start here:

Mainly, shipping the proper size + format will get you a long way. Lazy loading + other tricks/optimizations can be applied.

Hard to say more without more effort/context from your side.

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