Loading 180 tiled images with HTTP/2 vs. HTTP/1
21–30 of 57 posts
Re: Loading 180 tiled images with HTTP/2 vs. HTTP/1
#22Re: Loading 180 tiled images with HTTP/2 vs. HTTP/1
#23Earlier quoted context omitted.
Good point, but domain sharding is just a clever optimization (hack) to emulate some of the parallelism provided by HTTP/2 out of the box.
Certainly, but comparing X-as-almost-never-practiced[1] to Y is pretty disingenuous unless you're going to very clearly state up front that that is what you're doing. Of course, the hackiness of X-as-practiced is a valid point of qualitative comparison and should indeed be brought up. [1] Ok, I'm exaggerating a little. It's not quite "never", but most large sites where image loading time is an issue are using some fo…
Re: Loading 180 tiled images with HTTP/2 vs. HTTP/1
#24Note that this means that there's no longer a pressing need to consolidate multiple javascript files into one file, likewise with CSS files. Icon sprites aren't necessary either. There are still some gains from combining the files, as it will mean less headers will go over the wire, and you'd still want to minify them so that there were less total bits, but the gains aren't going to be as big as they used to be.
When you can spend longer up front optimizing the concatenation, minification, and compression, you can amortize that additional cost across every request and still make important incremental gains.
A bit saved is a bit earned.
Re: Loading 180 tiled images with HTTP/2 vs. HTTP/1
#25I wonder how well will a reverse http/2-proxy, in front of a http/1-server will behave
And of course, it could also cache that knowledge and do it all instantly.
Re: Loading 180 tiled images with HTTP/2 vs. HTTP/1
#26It seems to be offline now?
Re: Loading 180 tiled images with HTTP/2 vs. HTTP/1
#27Re: Loading 180 tiled images with HTTP/2 vs. HTTP/1
#28Note that this means that there's no longer a pressing need to consolidate multiple javascript files into one file, likewise with CSS files. Icon sprites aren't necessary either. There are still some gains from combining the files, as it will mean less headers will go over the wire, and you'd still want to minify them so that there were less total bits, but the gains aren't going to be as big as they used to be.
Similarly to GZIP applied by the Web Server, you could build your minification in, although given that the approaches are more varied and less standard it might not be the greatest idea.
Re: Loading 180 tiled images with HTTP/2 vs. HTTP/1
#29Re: Loading 180 tiled images with HTTP/2 vs. HTTP/1
#30Note that this means that there's no longer a pressing need to consolidate multiple javascript files into one file, likewise with CSS files. Icon sprites aren't necessary either. There are still some gains from combining the files, as it will mean less headers will go over the wire, and you'd still want to minify them so that there were less total bits, but the gains aren't going to be as big as they used to be.
I personally still think that JS should still always be pre-processed. When you can spend longer up front optimizing the concatenation, minification, and compression, you can amortize that additional cost across every request and still make important incremental gains. A bit saved is a bit earned.
> A bit saved is a bit earned.
So don't send bits the user probably won't need? :P