Hacker News new | ask | show | jobs
by dgb23 2148 days ago
That is actually the case today!

But it is an opt-in feature, which is not supported in older browsers.

In modern frontend development we are heavily optimizing images now. Lazy loading is one thing, the other is optimizing sizes (based on viewports) and optimizing formats (if possible).

This often means you generate (and cache) images on the fly or at build-time, including resizing, cropping, compressing and so on.

3 comments

Is progressive image loading still a common thing? I'd guess for a lot of connections it actually hurts more than it helps - until you get to that fat image-heavy site.
Is putting all assets into a single png/svg to reduce total requests a dead practice now?
I guess http/2 support on CDN made this a useless (and tedious) optimization
There was also the issue on an ancient version of IE that it could only load a few requests at the same time.
Is putting all assets into a single png/svg to reduce total requests a dead practice now?

As someone who browses the source of a lot of commercial web sites, I can say it's still dead common.

There's been a lot of static about new technologies coming that will make this unnecessary, but that don't help anyone today.

Should be done only if you have to load lots of small images. If you want to render above the fold fast reduceassets there and load them directly.
It is not supported by Safari, too.