DEV Community

Discussion on: Is HTTP/2 really worth it?

Collapse
 
exadra37 profile image
Paulo Renato

Very nice and well documented test, but I am surprised to that you have not seen more improvements on the speed gains, speacially because I had another impression after I read the Troy Hunt and Scott Helme articles.

Now I am curious why the differences in the results and I need to take some time to go hover all this articles on HTTP2 and try to find what is different in the methodologies used.

Collapse
 
david_j_eddy profile image
David J Eddy

One of the biggest reasons you will see not that much speed increase in my results is due to the target website not having a massive amount of images. One of the big speed increases comes from the multi-plexing ability of HTTP/2. The more images on a site, the more speed increase.

Troy mixes up the dependency. HTTP/2 requires HTTPS, not the other way around. You can easily run HTTPS over HTTP 1.1

I also did not enable compression. I wanted to test the protocols alone, not with additional enhancements. That is an article for a later time.

Thank you for the additional resource. More ammo for the 'secure everything AND go fast' cannon. :)

Collapse
 
exadra37 profile image
Paulo Renato • Edited

One of the big speed increases comes from the multi-plexing ability of HTTP/2. The more images on a site, the more speed increase.

That's will the reason for the small difference ;)

Troy mixes up the dependency. HTTP/2 requires HTTPS, not the other way around. You can easily run HTTPS over HTTP 1.1

Not sure if is really mixing that concept. He really knows about this stuff and he have a lot of courses around it in Pluralsight and a famous workshop, Hack yourself first, that he presents all over the world and also in Pluralsight.

I also did not enable compression. I wanted to test the protocols alone, not with additional enhancements. That is an article for a later time.

Fair enough... Looking forward for the next article on it.

Thank you for the additional resource. More ammo for the 'secure everything AND go fast' cannon. :)

Is TLS Fast Yet it is one more excellent resource that goes in very detail about TLS. It contains links to a bunch of other good content.

I also have a repo with links and notes about everything I know regarding HTTPS. Feel free to take a look on it to see if you find any new resource that can be of use to you.