3 points · by fyrejuggler · 11y ago · 1 comment
Looking into the documentation of srcset, I wonder why all the complexity. Couldn't we just use progressive JPGs and the browser loads until it has all the pixels it needs for the image in the current situation (screen dpi, zoom level, css scaling etc).
I also don't see what complexity you see. Instead of specifying one URL, you specify a small family of them. That's not architecturally more complicated -- it's a change of datatype. The behavior's straightforward and the presence of multiple versions of images is highly visible, instead of being a detail of some binary file.