Re:Out with the JavaScript, in with the HTML
by zamadatix on Monday May 11, 2026 @12:05PM
(#48096836)
> You would have needed the round-trip network request anyway to get the new images, no?
It'd be a shared round trip request for all images (so long as you aren't still using HTTP/1.1) in the 1st example vs a request for the immediate images and then a separate page load.
Both have their upsides/downsides depending on the rest of the page and how users usually use it.
Re:Out with the JavaScript, in with the HTML
by paularmstrong on Monday May 11, 2026 @04:26PM
(#48100228)
The images will always need a network request, but the non-JS version requires another request for the new HTML source.
And with the previous implementation, all users would get the progressive enhancement, not just non-Firefox users.
Re:Out with the JavaScript, in with the HTML
by jakelazaroff on Tuesday May 12, 2026 @11:25AM
(#48109716)
Compared to all the new icon images on the page, that request for the new HTML source is probably negligible.
With the previous implementation, all users would get the progressive enhancement… except non-JS users :) https://www.kryogenix.org/code/browser/everyonehasjs.html
The lack of Firefox support isn't a big deal because this is a progressive enhancement. Firefox users will still be able to switch icon sizes; they just won't see the fancy transition.