L
L
lavezzi12015-08-11 21:49:58
css
lavezzi1, 2015-08-11 21:49:58

Best way to distribute image loading in html to different devices?

Earlier I already asked a similar question, only about css. Speed ​​up image loading with css?
Now I'm wondering if it's possible to do the same thing only in html? with img tag. img srcset. does not fit.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Peter Zubkov, 2015-08-11
@peterzubkoff

If you need to speed up loading:
1. CDN, for example, Cloudflare + get a free SSL certificate (https).
2. Nginx before Apache, for narrow channel visitors.
3. Optimization of the pictures themselves through any convenient tools. I use ImageOptim , it has several command line tools at once.
There is also optimizilla.com
4. Progressive jpeg: dfbd0a0544f9.jpgConverted in Photoshop (when saving as jpg, select "Progressive, 3") or on the command line using ImageMagick:
Article about ImageMagick on Habré
5. Turn on Gzip compression, although it will not help much, because .jpg is already a compressed format.
6. PageSpeed ​​Insights

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question