Answer the question
In order to leave comments, you need to log in
How to properly compress an image for a website?
There is a stack restaurant site like this: nuxt js + adonis js + pgsql.
Images of goods are uploaded to google storage (jpg format) and are pulled by api, the weight of the image is about 5-6 mb, which is long enough for loading, how they can be compressed, preferably without a strong loss of quality, so that they are instantly loaded.
Answer the question
In order to leave comments, you need to log in
For example https://www.npmjs.com/package/imagemin
for gulp is also https://github.com/sindresorhus/gulp-imagemin
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question