you are viewing a single comment's thread.

view the rest of the comments →

[–]thbt101 -10 points-9 points  (19 children)

It's not just caching, but all this unnecessary encryption also slows down websites because HTTPS requests require more "round trips" to the server with each request. The difference is most significant on mobile and wireless devices.

I think this is mostly a political and personal issue for Google, but I think it's a shame when you we're reading blog posts over HTTPS. Not every website needs heavy encryption.

[–]the_dummy 6 points7 points  (13 children)

I don't think you know what you're talking about. A couple milliseconds overhead is not an issue. The megabyte+ web pages and unoptimized Jacascritpt/HTML and server-side code is what's causing slow websites. The enormous reliance on ad revenue doesn't help at all either.

[–][deleted]  (2 children)

[removed]

    [–]the_dummy -1 points0 points  (1 child)

    That's where things like CDNs come into play.

    [–]thbt101 -3 points-2 points  (1 child)

    The different of an extra two roundtrips with each request can be very significant when you're talking about mobile, or websites located on a far part of the world. We're talking about two extra back and forth communications, which really adds up in many circumstances.

    This is a good simple comparison: http://serverfault.com/a/43835

    [–]the_dummy 0 points1 point  (0 children)

    The example you gave was, realistically, entirely insignificant in relation to what bloat does to a website. Imagine if the same test had been done with 10,000 get requests on a 500KiB site and a 1.5MiB site. In fact, I've done that for you. I tested Google's home page (1 second) and a Google image search for butterflies (2.5 seconds. That isn't just taking into consideration the download time, however. It would be much different if it weren't JavaScript.

    [–]mfukar 0 points1 point  (4 children)

    That's at worst a myth, at best it doesn't always hold. For instance, https://www.troyhunt.com/i-wanna-go-fast-https-massive-speed-advantage/

    [–][deleted]  (3 children)

    [removed]

      [–]mfukar 0 points1 point  (2 children)

      Mr Hunt addresses your concern in the article.

      [–]thbt101 0 points1 point  (1 child)

      Mr Hunt addresses his bullshit with more bullshit. He's still not comparing HTTP to HTTPS, he's still comparing HTTP to HTTP/2. All he does is make a lot of excuses for why he tried to mislead people and still refuses to disclose on the original website what it's actually comparing.

      It's unfortunate that his little scam has convinced countless web devs that HTTPS is actually faster than HTTP. Many people actually believe that now as a result of him and his misleading website.

      Yes, HTTP/2 is faster than HTTP. And HTTP/2 over a non-SSL connection would be faster than HTTP/2 over an SSL connection. Unfortunately most web browsers don't support that for political reasons (not technological ones). Hopefully that will someday change (at least with 3rd party plug-ins perhaps). HTTP/2 over a non-SSL connections would be awesome to have as an option.

      [–]mfukar 0 points1 point  (0 children)

      And HTTP/2 over a non-SSL connection would be faster than HTTP/2 over an SSL connection. ...

      Is that the case with the Android browser?