News for hackers. Stuff that matters.
Re:Https hurts users far away from the server by lclarkmichalek on Friday March 10, 2017 @10:54AM (#13839508)
Number of connections isn't that relevant with HTTP2
Re:Https hurts users far away from the server by valarauca1 on Friday March 10, 2017 @12:52PM (#13840520)
Yes it is.

The number of connections to one host isn't relevant in HTTP2. As ublock is blocking some ~20 connections these are going to different hosts. Connecting to a different host in HTTP2 is no different then HTTP1.1

If your HTTP2 is terminating at MANY boxes within your infrastructure you are failing to understand how HTTP2 works. Connections within a single TLS/TCP/IP connection are free, new TLS/TCP/IP connections cost exactly as much as before.

Re:Https hurts users far away from the server by majewsky on Friday March 10, 2017 @02:53PM (#13841537)
Come to think of it, it's pretty ironic. For years, admins have been told to move static content to a different domain to trim down the request size (since browsers won't include the cookies for the main site). Now that might reverse, and it might be best to send all HTTP requests to the same server (for large sites: most likely some load balancer or haproxy or whatever) in order to benefit from HTTP/2 multiplexing.
Re:Https hurts users far away from the server by valarauca1 on Saturday March 11, 2017 @03:57PM (#13847210)
HTTP/2 really seems more like a front end balancing and caching protocol.

Handle your TLS/HTTP2 termination on the same boxes and use HTTP1.1 within the internal network.

Re:Https hurts users far away from the server by jacquesm on Friday March 10, 2017 @11:00AM (#13839555)
Unfortunately back here in the real world only about 10% or so of all websites support HTTP/2 so it is very relevant.
Re:Https hurts users far away from the server by lclarkmichalek on Friday March 10, 2017 @11:18AM (#13839695)
Given this article is about how you can improve _your_ response times, I think the author and audience probably have the the ability to implement HTTP2.
Re:Https hurts users far away from the server by jansenv on Friday March 10, 2017 @11:10AM (#13839627)
That can be fixed just as easily as reducing the number of requests.
Re:Https hurts users far away from the server by dalore on Friday March 10, 2017 @11:52AM (#13839943)
Adding http2 is easier then reducing the number of requests.

And infact reducing the number of requests using things like spritemaps, bundling js and css is actually an antipattern with http2.

Re:Https hurts users far away from the server by jacquesm on Friday March 10, 2017 @11:55AM (#13839960)
> And infact reducing the number of requests using things like spritemaps, bundling js and css is actually an antipattern with http2.

Those are just ways to lose some of the impact of bloat without addressing the bloat itself.

If you address bloat directly it will benefit all users.

Re:Https hurts users far away from the server by dalore on Friday March 17, 2017 @10:08AM (#13894063)
If you shard on http2 it will take longer since now it makes multiple ssl connections which have have the ssl handshake.

With http2 it's all multiplexed into one connection. So you have the one ssl connection, but that one connection has multiplexed connections inside it. And since it's one tcp, the tcp sliding window has opened up and is actually faster then opening a new tcp connection.

Re:Https hurts users far away from the server by tuxracer on Friday March 10, 2017 @12:22PM (#13840207)
If you migrate to HTTP2 or move to a host that already supports it then cutting down on "round trips" is an obsolete concern altogether.
Re:Https hurts users far away from the server by jacquesm on Friday March 10, 2017 @01:15PM (#13840702)
HTTP2 does not magically bundle all connections to one. It still very much depends on how you build up your page.
Re:Https hurts users far away from the server by floatboth on Friday March 10, 2017 @02:45PM (#13841468)
It does not magically split one connections into many. One domain == one connection. Sure it won't undo your "domain sharding" hacks and merge your CDNs, yeah :)
Re:Https hurts users far away from the server by viggity on Friday March 10, 2017 @12:07PM (#13840053)
yeah, but we're talking about what website operators can do to speed up their site. you can try to dramatically reduce the number of files you need to send. OR, you can just enable HTTP2. HTTP2 seems like a more simple answer.
Re:Https hurts users far away from the server by hueving on Friday March 10, 2017 @01:27PM (#13840803)
HTTP2 doesn't magically change the number of hosts you communicate with (CDNs, ad networks, tracking providers, etc) and most importantly, it doesn't reduce the amount of shit developers are piling onto web pages.