mercredi 7 octobre 2020

Is it a good idea to compress images on client before upload [closed]

I am trying to understand the cost of performance hit it will take and the task required at hand for entry point.

For instance, it makes sense to compress the images before uploading the source - The client.

But at the same time if run the compression algorithm. Would't it take the hit for performance? I run React on server (NodeJS), so I have one more layer, So shall client or NodejS server ( Front-end server ) or backend server take the compression part? We store these images in s3 eventually.




Aucun commentaire:

Enregistrer un commentaire