Slashdot Mirror


HTTP/2 Finalized

An anonymous reader writes: Mark Nottingham, chair of the IETF HTTP working group, has announced that the HTTP/2 specification is done. It's on its way to the RFC Editor, along with the HPACK specification, where it'll be cleaned up and published. "The new standard brings a number of benefits to one of the Web's core technologies, such as faster page loads, longer-lived connections, more items arriving sooner and server push. HTTP/2 uses the same HTTP APIs that developers are familiar with, but offers a number of new features they can adopt. One notable change is that HTTP requests will be 'cheaper' to make. ... With HTTP/2, a new multiplexing feature allows lots of requests to be delivered at the same time, so the page load isn't blocked." Here's the HTTP/2 FAQ, and we recently talked about some common criticisms of the spec.

171 comments

  1. Awesome! by Anonymous Coward · · Score: 0

    Go progress!

  2. IE once again kills innovation by Billly+Gates · · Score: 2, Interesting

    MS will only support this in Spartan on Windows 10. Which means 7 and XP are already out of support.

    1. Re:IE once again kills innovation by Anonymous Coward · · Score: 0

      I don't see how that kills innovation. Webservers are going to have to support both for years.

      This isn't like 2002 when everyone used IE and so there was no point supporting stuff that only mozilla could handle.

    2. Re:IE once again kills innovation by Anonymous Coward · · Score: 3, Informative

      Incorrect; HTTP/2 is also supported in the classic IE 11 on Windows 10. In fact, we are having trouble with it already in the current Technical Preview 2 of Windows 10 that does not contain Spartan (some sites don't negotiate it correctly and take over 30 seconds to load until you turn off HTTP/2 in the browser). Of course, the current build is using draft-14 of the spec as are most other implementations today (some are on draft-16).

      However, you are correct that IE 11 on Windows 7 is not going to support HTTP/2. That makes sense, because Windows 7 has exited standard support and entered extended support which means security patches only from here on out. But, you can use Chrome on Windows 7 which will be supporting HTTP/2 shortly.

    3. Re:IE once again kills innovation by DarkOx · · Score: 2, Insightful

      Which will mean one of three things:

      1) HTTP/2 will not be used in the wild for anything important. Due to the sheer number of Win7/8 machines out there with IE versions that don't support it.

      2) Users on windows will move away from IE. Once people leave they don't typically come back so IE will eventually become an also ran.

      3) Microsoft will fear loosing to much browser market share, will back pedal and backport spartan.

      --
      Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
    4. Re:IE once again kills innovation by Richard_at_work · · Score: 1

      Windows XP is completely out of support, while Windows 7 is out of mainstream support (as of January 2015), so not supporting them with new features is only right.

    5. Re:IE once again kills innovation by QuasiSteve · · Score: 4, Insightful

      4) People enable it on their servers and those with browsers that do support it enjoy the benefits (and possibly some of the side-effects) that it brings, while everybody else will either chug along on HTTP/1.1 or even HTTP/1.0, or switch to a browser that does support HTTP/2, and whether or not older versions of IE support it remains a non-issue.

    6. Re:IE once again kills innovation by jellomizer · · Score: 1

      HTML/2 strong point is centered around Web Services communication. So this is non-browser to to non-browser communication.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    7. Re: IE once again kills innovation by rkcth · · Score: 4, Funny

      It's hard to take your knowledge in this matter seriously, since you call it HTML/2.

    8. Re:IE once again kills innovation by Richard_at_work · · Score: 4, Interesting

      3) Microsoft will fear loosing to much browser market share, will back pedal and backport spartan.

      Didn't work for DirectX, don't think it will work for this.

    9. Re:IE once again kills innovation by Anonymous Coward · · Score: 0

      HTML 2? wow, haven't heard about that in a while...

    10. Re:IE once again kills innovation by rock_climbing_guy · · Score: 3, Funny

      As a web developer, I can only imagine how much more pleasant my work would be if I asked my customer, "What versions of IE does this application need to support?" and the response was, "IE? What's IE?"

      --
      Wh47 d1d j00 541, 31337 15n't t3h r0xor5 ne m0r3???
    11. Re:IE once again kills innovation by Anonymous Coward · · Score: 0

      True but doesn't really matter. Firefox and Chrome work just fine on XP and Win7, and of course Apple has it covered with Safari. So the solution will be to not use IE at all. Bottom line is the time when Microsoft had any influence over the web/internet is long gone.

    12. Re:IE once again kills innovation by 93+Escort+Wagon · · Score: 4, Insightful

      If people do "switch to a browser that does support http/2", it will be for some other reason unrelated to the protocol - getting http/2 support will be serendipitous. Very few people other than tech heads are going to care about the protocol, one way or the other... they won't even be aware of it.

      --
      #DeleteChrome
    13. Re:IE once again kills innovation by Anonymous Coward · · Score: 0

      Microwho?

    14. Re:IE once again kills innovation by Anonymous Coward · · Score: 0

      Incorrect; HTTP/2 is also supported in the classic IE 11 on Windows 10. In fact, we are having trouble with it already in the current Technical Preview 2 of Windows 10 that does not contain Spartan (some sites don't negotiate it correctly and take over 30 seconds to load until you turn off HTTP/2 in the browser). Of course, the current build is using draft-14 of the spec as are most other implementations today (some are on draft-16).

      However, you are correct that IE 11 on Windows 7 is not going to support HTTP/2. That makes sense, because Windows 7 has exited standard support and entered extended support which means security patches only from here on out. But, you can use Chrome on Windows 7 which will be supporting HTTP/2 shortly.

      Another delightful consequence of Microsoft's absolute insistence that a frigging application like a browser is a "core part of the operating system". A newer version of IE should be about as difficult for the user as downloading and installing a newer version of Notepad, or Firefox, or WinSCP, but no, not when we do things the MS Way. I hope their paying customers enjoy knowing there is really no technical reason why this could not be done.

      There was a time when I didn't know better and thought this was just how computers worked. Then I discovered *nix. So glad I got away from Windows years ago. Let the fanbois and the 'turfers make their excuses and explain this one away (like those battered women who make excuses about how "he's really a good man, he didn't mean it..."). "But but but the rendering engine is used throughout the OS!" oh really, is that why the company that designed both the old .dll files and the entire OS cannot replace those few .dll files with new ones? On the same architecture with the same ABI? Really? Yeah must be some tasty kool aid. But well, when you put all that time and effort into this system, maybe based your career on MS, I guess you have to rationalize it somehow. Seems like an all-too-normal human tendency.

    15. Re:IE once again kills innovation by Anonymous Coward · · Score: 0

      It is HTTP/2 not HTML/2

      That's a pretty big goober you left.

    16. Re:IE once again kills innovation by Anonymous Coward · · Score: 0

      Microsoft wanted Windows 95 to be Internet connected, they just had no idea what that meant or how to do it, so they threw everything into Explorer like idiots.

    17. Re:IE once again kills innovation by DarkOx · · Score: 5, Funny

      The masses will switch as soon as they see "Did you know Facebook could be faster --> Click Here ---"

      --
      Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
    18. Re: IE once again kills innovation by Anonymous Coward · · Score: 0

      Users on 7 ARE moving away from IE. The State of NY gov. has updated most of their sites from exclusivly IE to include other browsers. Bye bye ActiveX

    19. Re: IE once again kills innovation by Anonymous Coward · · Score: 0

      Instead the answer is: "all of them"... amiright?

    20. Re:IE once again kills innovation by 93+Escort+Wagon · · Score: 1

      The masses will switch as soon as they see "Did you know Facebook could be faster --> Click Here ---"

      Somehow I doubt that'll be any more effective than those old website buttons that said "This site is optimized for Netscape Navigator - click here to download".

      --
      #DeleteChrome
    21. Re: IE once again kills innovation by Threni · · Score: 1

      Windows 10? IE? Did you miss the email?

    22. Re:IE once again kills innovation by Qzukk · · Score: 1

      I get that response all the time. Then they tell me it needs to support version 7 of "the internet".

      --
      If I have been able to see further than others, it is because I bought a pair of binoculars.
    23. Re:IE once again kills innovation by Archangel+Michael · · Score: 1

      Microsoft's influence over anything is slipping away. I'm finding less need for anything Microsoft in my IT world these days. The behemoth of each APP is crushing the life out of the lungs.

      The problem you have, is that OFFICE is such a behemoth that it is almost unusable, but everyone requires people to use Apps like Word, when all they need is WordPad.

      --
      Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
    24. Re:IE once again kills innovation by Anonymous Coward · · Score: 0

      microsoft. It was my nickname in college.

    25. Re:IE once again kills innovation by Anonymous Coward · · Score: 0

      MS will lose the browser war immediately if they do that. Since XP is not supported i would expect win 7's version of IE to be updated to handle this. Because if they dint then Firefox, Chrome, and Safari would eclipse them entirely, MS does not want that.

    26. Re:IE once again kills innovation by DarkOx · · Score: 3, Funny

      The web is a different place than it used to be. Let me take you back to 199[345].

      There were four kinds of Internet Users:

      Group 1)
      Has just arrived at your GeoCities page with its "optimized for Netscape" banner after following several webring links. They had only recently finished unboxing their Packard Bell and working out the relationship between the mouse and the cursor.

      The were sitting in front of Windows 3.1x feeling a mix of awe and pride in their AOL dialing skills and terror they might some how break this machine having just spent nearly a months salary on it, because the kids teacher said they should get a PC. They were not about to download anything let alone install it. They still had the sakes from last time they tried something like that, and continue to wonder who this Gen. Protection Fault is and what he did to their computer.

      Group 2)
      Were practically experts by today's standards. They maybe had a 286 from a few years back and remembered some DOS commands. This and their command of cutting and pasting into notepad from "View Source" in Navigator has enabled them FTP their very own page to GeoCities that folks in group 1 are now viewing.

      Group 3)
      Has some professional or academic experience using a platform other than DOS and Netware. They are already frustrated back the lack of development the X11R2 edition of Navigator is seeing. Its fine they because all the stuff they think is really worth while is still available via BBS, and someone was good enough to install Lynx and internet gateway in case they do want to look at GeoCities. They had formed their opinion about what browser was good an proper and nothing was going to make them change, EVER.

      Group 4)
      Mac users, this group was small and mostly ashamed of themselves during this period. They clung to the belief their shitty platform was in someway superior to Microsoft's shitty platform running on Packard Bell (it wasn't). They really did not having anything to choose from besides Netscape, no matter what the banners indicated and they knew it.

      In short things were nothing like today; well actually group 3 hasn't change much. Groups 1 and 2 merged; but the fear is gone. These people will run anything now. Ask them to put their password in so they can run NoIreallyAmATrojanLookingToStealYourOnlineBankingPassword.exe and they probably will if you promise them some extra Facebook likes on their posts or something.

      Group 4) Is all self assured again. Some group 3 folks are joining them, although they still don't really mix at parties.

      --
      Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
    27. Re:IE once again kills innovation by rock_climbing_guy · · Score: 1

      I don't think I could stand to hear someone refer to IE7 as "version 7 of the Internet". I would go completely Daffy Duck over that!

      --
      Wh47 d1d j00 541, 31337 15n't t3h r0xor5 ne m0r3???
    28. Re: IE once again kills innovation by Billly+Gates · · Score: 1

      Problem is http2 is for Web services. If you have to support older IE hence http1 then you can't do the same things. ... or write 2 different versions of your site.

    29. Re:IE once again kills innovation by Anonymous Coward · · Score: 0

      Except WinNT is a re-implementation of VMS and not an extension of DOS like Win95. In other words, MS knew about webpages before they built NT, and yet they still kept IE.

    30. Re:IE once again kills innovation by Anonymous Coward · · Score: 0

      True enough. Every time I open a Word doc that contains only an image I cry...

    31. Re:IE once again kills innovation by arglebargle_xiv · · Score: 1

      Webservers are going to have to support both for years.

      Applications are going to have to support both for years, possibly eternity. The whole HTTP 2.0 process was driven mostly by Google, who wanted HTTP changed to reduce the load on their servers (heaven knows what sort of uproar would have resulted if Microsoft had tried this sort of thing). Unfortunately the resulting design, while it may make Google's job easier, is incredibly difficult to implement for things like embedded devices. The HTTP 2.0 WG's response when this was pointed out, repeatedly, was "let them eat HTTP 1.1".

      In other words there will be two HTTP's, 2.0 for Google and in general content providers and whatnot, and HTTP 1.1 for everything else.

    32. Re:IE once again kills innovation by Anonymous Coward · · Score: 0

      3) Microsoft will fear loosing to much browser market share, will back pedal and backport spartan.

      Didn't work for DirectX, don't think it will work for this.

      What?

      Who the fuck makes alternative DirectX implementations? AFAIK, the only DirectX engine in existence is Microsoft's. Wine/Cider has a D3D->OGL abstraction layer but there are no alternative implementations for Microsoft to lose market share to on Windows.

    33. Re:IE once again kills innovation by MikeBabcock · · Score: 1

      Google's SPDY support was already implemented by many servers optionally; I'm sure HTTP/2 can be done the same way.

      --
      - Michael T. Babcock (Yes, I blog)
  3. Heaven forbid! Actual news for nerds on Slashdot! by Xharlie · · Score: 5, Funny

    The post even has counter-arguments and links to stuff. Are the 90's back again? Do I hear rave music, modem hand-shake tones and browser wars?

  4. (binary protocol)-- by jjn1056 · · Score: 2

    I'm really going to miss being able to telnet to a server and troubleshoot using plain text. Feels like a lot of simple has disappeared from the internet

    --
    Peace, or Not?
    1. Re:(binary protocol)-- by Xharlie · · Score: 1

      While I do agree that "a lot of simple has disappeared from the internet", I don't think that I will miss the ability to test via telnet. Most HTTP end-points are too complex to test via telnet anyway and, as long as it always remains a simple request/response dialogue between client and server, I don't think any real complexity has crept in.

    2. Re:(binary protocol)-- by Lennie · · Score: 4, Informative

      I'm really going to miss being able to telnet to a server and troubleshoot using plain text. Feels like a lot of simple has disappeared from the internet

      Yes, HTTP/2 is a multipllexing binary framing layer, but it has all the same semantics of HTTP/1.x on top.

      HTTP/2 is 'just' an optimization. So if your webserver supports HTTP/1.x and HTTP/2 then you can still use telnet to check whatever you want and it should give the same result as HTTP/2.

      But you also have to remember:
      The IETF which is the group of people who design the Internet protocol made this statement:
      https://www.iab.org/2014/11/14...

      "Newly designed protocols should prefer encryption to cleartext operation."

      The W3C made a similar statement, there are also drafts with the intention to moving to HTTPS by default.

      So it is all moving to TLS protocols like HTTPS or STARTTLS for SMTP anyway. Those are clearly not text protocol either.

      So even if you want to interact with the text protocol used inside that TLS-encrypted connection, you'll need to use a tool because netcat or telnet won't cut it.

      Let's look at HTTP, because this is a HTTP/2 article.

      That tool could be the openssl s_client, but as you can see that is kind of cumbersome:
      echo -en "HEAD / HTTP/1.1\nHost: slashdot.org\nConnection: close\n\n" | openssl s_client -ign_eof -host slashdot.org -port 443 -servername slashdot.org

      But I suggest you just use:
      curl -I https://slashdot.org/

      The main developer for cURL works for Mozilla these days and is one of the people working on the HTTP/2 implementation in Firefox and is writing a document explaining HTTP/2: http://daniel.haxx.se/http2/
      So as you would expect Curl supports HTTP/2:
      https://github.com/http2/http2...

      Basically every browser include 'developer tools' which will also let you see the headers and everything else you are used from HTTP/1.x.

      I would rather see we all move to using encrypted protocols then that we can still use telnet.

      --
      New things are always on the horizon
    3. Re:(binary protocol)-- by higuita · · Score: 1

      how to you test a https currently with telnet? you don't, you use a tool (openssl s_client -connect ip:port), then you test like telnet

      with http2, you will also have to use a tool to connect.. then you can do what ever you wan...
      (and by the way, chrome and firefox will only allow http2 with TLS, so even if it was plain text, you still would need to use openssl s_client to test )

      --
      Higuita
    4. Re: (binary protocol)-- by Anonymous Coward · · Score: 0

      Testing SMTP over tls is not hard btw. OpenSSL s_client etc. after you connect you just type as though it were telnet.

    5. Re: (binary protocol)-- by Lennie · · Score: 1

      I know, that is why I mentioned:

      "Let's look at HTTP, because this is a HTTP/2 article."

      Anyway, for those that don't know:

      echo -en "MAIL FROM:\nRCPT TO:\nDATA\nSubject: test messsage\n\ntest message body\n\n.\nquit\n" | openssl s_client -host gmail-smtp-in.l.google.com. -port 25 -starttls smtp -ign_eof

      --
      New things are always on the horizon
    6. Re:(binary protocol)-- by dotancohen · · Score: 1

      echo -en "HEAD / HTTP/1.1\nHost: slashdot.org\nConnection: close\n\n" | openssl s_client -ign_eof -host slashdot.org -port 443 -servername slashdot.org

      Thanks, Lennie. I'm self-learning the whole HTTP (simple) and TLS (not simple) protocols out of interest as I work as an ad-hoc server admin (devops). This one-liner answers a whole slew of questions that I had, and points me in the direction to learn others. Thank you!

      --
      It is dangerous to be right when the government is wrong.
    7. Re:(binary protocol)-- by Anonymous Coward · · Score: 0

      ncat --ssl google.com 443

    8. Re:(binary protocol)-- by Lennie · · Score: 1

      Ahh, cool, didn't know nmap included that.

      --
      New things are always on the horizon
  5. Great if optimizing the wrong thing is your thing by Anonymous Coward · · Score: 5, Insightful

    Web pages being slow has nothing to do with HTTP and all to do with bloat eating every bit of performance that is available to the marketers who are in charge of the web now. A binary protocol to save a couple of bytes in times where every web page loads at least three "analytics" scripts weighing dozens of kbytes each. Marketing rots the brain.

  6. Not really happy by Aethedor · · Score: 5, Interesting

    As the author of an open source webserver, I must say that I'm not really happy with HTTP/2. It adds a lot of extra complexity to the server side of the protocol. And all sorts of ugly and nasty things in HTTP/1 (too much work to go into that right now) have not been fixed.

    What I have experienced is that SPDY (and therefor also HTTP/2) will only offer more speed if you are Google or are like Google. Multiplexing doesn't offer that much speed increase as some people would like you to believe. Often, the content of a website is located on multiple systems (pictures, advertisements, etc), which still requires that the browser uses more than one connection, even with HTTP/2. Also, HTTP/1 already allows a browser to send multiple requests without waiting for the response of the previous request. This is called request pipelining, but is turned off by default in most browsers. What I also often see is that a browser makes a first request (often for a CGI script) and the following requests (for the images, JS, CSS, etc) are never made due to browser caching. So, to me HTTP/2 adds a lot of complexity with almost no benefits in return.

    Then why do we have HTTP/2? Well, because it's good for Google. They have all the content for their websites on their own servers. Because IETF failed to come up with a HTTP/2 proposal, a commercial company (Google in this case) used that to take control. HTTP/2 is in fact a protocol by Google, for Google.

    In my experience, you are far better off with smart caching. With that, you will be able to get far better speed-increase results than HTTP/2 will ever offer. Specially if you use a framework that communicates directly with the webserver about this (like I did with my PHP framework). You will be able to get hundreds to thousands requests per second for a CGI script instead of a few tens of requests. This is a speed increase that HTTP/2 will never offer.

    I think this is a failed change to do it right. HTTP is just like SMTP and FTP one of those ancient protocols. In the last 20 years, a lot has changed. HTTP/1 worked fine for those years. But for where the internet is headed, we need something new. Something completely new and not a HTTP/1 patch.

    --
    It doesn't have to be like this. All we need to do is make sure we keep talking.
    1. Re:Not really happy by Marginal+Coward · · Score: 2

      Then why do we have HTTP/2? Well, because it's good for Google....HTTP/2 is in fact a protocol by Google, for Google.

      Those are interesting points, but I don't understand why Google would ever be able to hijack a standard like this when there are plenty of other big players such as Microsoft, Facebook, and Amazon to counteract their Machiavellian schemes. I could believe that HTTP/2 might benefit big organizations more than a typical little guy like me who uses shared web hosting (and not even a CDN), but is there something about HTTP/2 that uniquely favors Google over all the other big players?

    2. Re:Not really happy by higuita · · Score: 1

      This is a evolution step, it still requires to work with http/1.1 designed sites.
      When sites are designed with http/2 in mind, it is time for the http/3, where more things could be changed (and deprecate http/1.1)

      Is not perfect, but changing too many things leads to the ipv6 problem... is good, but people don't want to break things and so don't change anything.

      --
      Higuita
    3. Re:Not really happy by higuita · · Score: 4, Informative

      And for the http/1.1 pipeline, it simple don't work... 90% of the sites can work with it, but others fail and fail badly... the page take forever to load, waiting for resources that were asked but never received. all browsers tried to enabled it and all had to revert it due to the (few but important) problems founds that are impossible to solve without a huge whitelist/blacklist of servers (impossible to really implement and a pain for all those important and old internal servers)

      So the 2 major issues that http/2 want to solve are really the tls slow start and a working pipeline... By announcing http/2, a browser knows that this things do work and are safe to use, no more guessing games and workarounds for bad servers.

      --
      Higuita
    4. Re:Not really happy by raxx7 · · Score: 5, Informative

      You might be happier if you researched why HTTP pipelining is off in most browsers and what problem it actually wants to solve.

      First, HTTP/1.1 pipelining and HTTP/2.0 are not about increasing the number of request your server can handle. It's mainly about reducing the effect of round trip latency in page loading times, which is significant.
      If a browser is fetching a simple page with 10 tiny elements (or even cached elements subject to conditional GET) but the server round trip latency is 100 ms, then it will take over 1 second to load the page.

      HTTP was a first attempt to solve this problem, by allowing the server to send multiple requests over the connection without waiting for the earlier requests to complete.
      If you can pipeline N requests, the round trip latency contribution is divided by N.
      However, HTTP/1.1 pipelining has two issues which led most browsers to disable it by default (it's not because they enjoy implementing features not be used):
      - There are or were a number of broken servers which do not handle pipelining correctly.
      - HTTP/1.1 pipelining is subject to head of line blocking: the server serves the requests in order and a small/fast request may have to wait inline behind a larger/slow request.

      Instead, browsers make multiple parallel requests to each server.
      However, because some servers (eg, Apache) have problems with large numbers of requests so browsers use arbitrary low limits (eg, 4-8 parallel requests per hostname).

      HTTP/2.0 attempts to solve these shortcomings by:
      a) being new, hopefully without broken servers out there
      b) using multiplexing, allowing the server to serve the requests in whatever order. Thus, no head-of-line blocking.

      So. HTTP/2.0 is, fundamentally, HTTP/1.1 pipelining without these shortcomings. We hope.

    5. Re:Not really happy by Anonymous Coward · · Score: 0

      2015.

      Still thinking running sites via CGI is relevant.

    6. Re:Not really happy by ftobin · · Score: 1

      By announcing http/2, a browser knows that this things do work and are safe to use, no more guessing games and workarounds for bad servers.

      Didn't browsers announce for HTTP 1.1 as well? Why should expectations be significantly different w.r.t. pipelining?

    7. Re:Not really happy by raxx7 · · Score: 2

      What happened to HTTP/1.1 pipelining is fortunately not a common case: popular webserver breaks the standard and doesn't get fixed, making the standard de facto useless. While it's not impossible for the same to happen with HTTP/2.0, this type of situation is more the exception than the norm.
      All popular webservers today strive for a good degree of standard compliance.

      But, maybe as importantly, as pointed out before, that was not the only problem with HTTP/1.1 pipelining. You also have the head of line blocking problem, which is a fundamental design problem.
      This reduced the case to enable HTTP/1.1 pipelining in the browsers and to fix the broken server software.

    8. Re:Not really happy by Bengie · · Score: 1

      Also, HTTP/1 already allows a browser to send multiple requests without waiting for the response of the previous request.

      Incorrect. HTTP/1.1's pipelining is blocking, in that the responses must be returned in the order they were requested. It has a front of line blocking issue.

    9. Re:Not really happy by Anonymous Coward · · Score: 2

      - There are or were a number of broken servers which do not handle pipelining correctly.

      Wrong, there are so few servers that are broken that neither Mozilla nor Google could determine what software was broken. The "unknown" broken software was possibly malware or antivirus. Today pipelining works fine. It's disabled because Google rushed SPDY out to preempt pipelining from being turned on.

      b) using multiplexing, allowing the server to serve the requests in whatever order. Thus, no head-of-line blocking.

      Also wrong. Using multiple connections is faster when there is packet loss, because only one connection's bandwidth is slowed down by a lost packet and the others proceed normally. Head of line blocking and multiple connections makes pages load faster in these cases because data is sent over connections that aren't slowed. With HTTP/2 you have the whole page being sent over 1 TCP connection and if it slows down from packet loss then the entire page loads slowly.

      Furthermore, "head of line" describes the order that resources are delivered, in order instead of interleaved. The same amount of data has to be transferred, and pages delivered that way can render both faster or slower. Interleaved is far more complicated and there's no guarantee that it causes pages to render more quickly.

      Don't just parrot these unsupported claims that Google makes. They don't post the data from their research and only give talking points for a reason: because it doesn't fit their agenda to push this protocol.

    10. Re:Not really happy by rjstanford · · Score: 2

      4 000 000 000 is 10 characters once the whitespace is stripped out. Roughly the same number in HEX is FF FF FF FF, a saving of 20%

      You're kidding, right? The number 4 billion can be represented in 32 bits, or the same total space as 4 ASCII characters.

      --
      You're special forces then? That's great! I just love your olympics!
    11. Re:Not really happy by ergo98 · · Score: 1

      The whole "HTTP/2 stink" thing seems to be a bit of a meme, but it's remarkable how the people who state it vaguely wave their hands around and make unsupported claims.

      1. HTTP/2 is *fantastic* for higher latency connections. If you're a small site and you can't afford to have geolocated servers around the globe, HTTP/2 offers a much better experience for those high latency connections. I've been using SPDY for a couple of years to service clients in Singapore from a server in the US (which for a variety of legislative and technical reasons I can't replicate there). It is absolutely better.

      2. HTTP Pipelining is when you know that someone is just doing the "I oppose" thing and searching around for objections. HTTP pipelining is not supported by default in a *single* major browser because it has critical, deadly faults that render it useless. When people bring it up to oppose HTTP/2, their position is rendered irrelevant.

      3. HTTP/2 removes the need to do script and resource coalescing. It removes the need to deal with difficult to manage image sprites. All of those are bullshit that are particularly onerous and expensive to little sites.

      4. HTTP/2 makes SSL much cheaper to the experience. This is very good.

      HTTP/2 is a *huge* benefit especially to the little guy. Google can do every manner of optimization, they can deploy across legions and armies of servers around the globe. This can be expensive and logistically difficult for little sites, especially if you want SSL. HTTP/2 levels the playing field to some degree.

    12. Re:Not really happy by Bengie · · Score: 1

      Using multiple connections is faster...

      You sir, are an idiot. Please stop spouting horrible information. There are only a few situations where multiple connections are faster and it primarily has to do with load balancing over aggregate links or laod balancing CPU cores. Multiple TCP streams are almost always a bad thing. They may seem faster, but only because other people do it, over all, it's slower.

      Lots of TCP connections between two end points is known to exasperate issues like buffer bloat and global synchronization. Each additional TCP connection effectively works as a multiplier. TCP may want to increase PPS by 1, but because you have N connections, you increase PPS by N, making the ramp up too aggressive, and also increase the rate of packet-loss, which makes the back-off also more aggressive. What happens when you get global synchronization of many end points that are aggressively ramping up and backing off at the same time? Bad things.

    13. Re:Not really happy by swillden · · Score: 1

      Today pipelining works fine. It's disabled because Google rushed SPDY out to preempt pipelining from being turned on.

      I stopped reading your comment right here.

      Pipelining was introduced in HTTP/1.1, standardized in RFC 2616 which was released in 1999. We've had 16 years to get pipelining working well. 13 if you count up to when Google first started seriously experimenting with SPDY.

      (Disclaimer: I work for Google, but has nothing to do with my opinions on this issue. I thought pipelining was obviously broken long before I started working for Google.)

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    14. Re:Not really happy by bill_mcgonigle · · Score: 2

      What I have experienced is that SPDY (and therefor also HTTP/2) will only offer more speed if you are Google or are like Google.

      This is so worn out it's even in the FAQ.

      Multiplexing doesn't offer that much speed increase as some people would like you to believe.

      It's good for every high-latency connection, like all the small sites have. I run a server on a VM on a generic Xeon box behind a DSL line, four hops from a backbone, for security and privacy reasons. It'll be great for my use case - I can't really compete with the big guys for responsiveness the way it is now.

      Often, the content of a website is located on multiple systems (pictures, advertisements, etc), which still requires that the browser uses more than one connection, even with HTTP/2.

      So, every one of those requests will be faster.

      Also, HTTP/1 already allows a browser to send multiple requests without waiting for the response of the previous request. This is called request pipelining

      Pipelining and multiplexing are different.

      So, to me HTTP/2 adds a lot of complexity with almost no benefits in return.

      So, don't add HTTP/2 support to your server - if nobody leaves then nobody wanted it. HTTP/1.1 will be supported for the next two decades.

      Then why do we have HTTP/2? Well, because it's good for Google. They have all the content for their websites on their own servers.

      Install Status4Evar - you'll see Google sites constantly jumping across all their domains, stalling on many of them.

      Because IETF failed to come up with a HTTP/2 proposal, a commercial company (Google in this case) used that to take control. HTTP/2 is in fact a protocol by Google, for Google.

      That just happens to help everybody else. Your critique of IETF's failure of leadership is quite valid, though. People have been hacking around HTTP/1.1's problems for the past 17 years and if Google hadn't done SPDY, we'd still be in that situation.

      In my experience, you are far better off with smart caching. With that, you will be able to get far better speed-increase results than HTTP/2 will ever offer.

      Agreed wholeheartedly! Nobody is arguing for not optimizing each layer of the stack. Proper caching can yield whole-number multipliers for responsiveness, not just mere percentages like HTTP/2!

      In the last 20 years, a lot has changed. HTTP/1 worked fine for those years.

      Read up on so many of the tricks browsers and servers (especially CDN ops) do to make HTTP/1.1 usable. These hacks are what inspired some of the SPDY changes, by people knee-deep in those hacks.

      But for where the internet is headed, we need something new. Something completely new and not a HTTP/1 patch.

      That would be great too. Do you have a proposal? Incremental approaches are usually easier to find acceptance for because they're more clearly understood and carry less risk of unexpected consequences.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    15. Re:Not really happy by BlackHawk-666 · · Score: 1

      Let's not forget that apps are often needing to pass out Ids now, and are tending toward using 64 bit Ids to deal with big data. That's either 8 bytes in binary or closer to 16 bytes as ASCII, and that's not even counting whitespace that may also need to be around it.

      --
      All those moments will be lost in time, like tears in rain.
    16. Re:Not really happy by Bengie · · Score: 1

      Multiplexing doesn't offer that much speed increase as some people would like you to believe

      Limit your browser to one connection per server and tell me that with a strait face. TCP has horrible congestion control and should not be used to multiplex web requests.

    17. Re:Not really happy by Anonymous Coward · · Score: 0

      As a user of Hiawatha, how the fuck can I get it to serve .svgz files with the Content-encoding: gzip HTTP header the standard requires without resorting to any server-side scripting?

    18. Re:Not really happy by Anonymous Coward · · Score: 0

      But... but... doesn't the saying go that what's good for the Google is good for the gander?

    19. Re:Not really happy by Just+Some+Guy · · Score: 1

      Also, HTTP/1 already allows a browser to send multiple requests without waiting for the response of the previous request.

      But it doesn't have a decent mechanism for sending responses before they're requested. With HTTP/2, your server can say "here's the page HTML, and here's a stream for the favicon linked in the HTML headers, and here's another stream for the JavaScript". The quickest request is the one you don't have to make.

      --
      Dewey, what part of this looks like authorities should be involved?
    20. Re:Not really happy by ultranova · · Score: 1

      The number 4 billion can be represented in 32 bits, or the same total space as 4 ASCII characters.

      4 ASCII characters can be represented in 28 bits.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    21. Re:Not really happy by thegarbz · · Score: 1

      It's disabled because Google rushed SPDY out to preempt pipelining from being turned on.

      The pipelining spec dates back to what ... 1997? SPDY was released in 2012.

      That's a hell of a pre-preemption you have right there. Even IE 8 had pipelining support a whole 4 years before SPDY was announced. Are you telling me Microsoft disabled it by default there too because one of their biggest competitors may release something to replace it 4 years later?

    22. Re:Not really happy by Anonymous Coward · · Score: 0

      Read it and learn:

      http://tools.ietf.org/html/dra...

      .
            SPDY ... showed worse average performance than HTTPS
            when packet loss was 1% (average gain 0.9). This effect was more
            pronounced in the large RTT cases as compared to the small RTT. This
            result points to a weakness in the way that SPDY utilizes TCP. With
            a typical HTTPS download of a web page, the browser will open a large
            number of simultaneous TCP connections. In this case, a random
            packet loss will cause the one affected connection to temporarily
            reduce its congestion window (and hence the effective data rate), but
            the other connections will be unaffected, and in fact may be able to
            opportunistically make use of the bandwidth made available by the
            affected connection. The result for HTTPS is that random packet loss
            has only a minor impact on page download time. In the case of SPDY,
            the number of parallel TCP connections is dramatically reduced (by as
            much as a factor of six), so that random packet loss has a much
            bigger impact on the overall throughput.

      ...but I have no doubt you will go on mindlessly parroting anything and everything Google says.

    23. Re:Not really happy by Anonymous Coward · · Score: 0

      Nobody cared before, because CPUs and browser layout engines were the bottleneck not the network. But since you'd rather turn your mind off then possibly be exposed to new information that contradicts your opinions you'd probably believe in sky fairies and a flat Earth if Google told you to.

    24. Re:Not really happy by swillden · · Score: 1

      Nobody cared before, because CPUs and browser layout engines were the bottleneck not the network.

      Nonsense. With some notable exceptions, network has always been the primary bottleneck.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    25. Re:Not really happy by MikeBabcock · · Score: 1

      I appreciate your insights, but your assumption that this has something to do with being 'good for Google' is hogwash -- they already had SPDY and HTTP/2 doesn't implement everything SPDY has. I see Google being a good citizen here and joining the new standard instead of continuing to push their own protocol they obviously preferred.

      --
      - Michael T. Babcock (Yes, I blog)
    26. Re:Not really happy by Rich0 · · Score: 1

      Nobody cared before, because CPUs and browser layout engines were the bottleneck not the network.

      Nonsense. With some notable exceptions, network has always been the primary bottleneck.

      Agree. Think about it - in 1999 a modem was a pretty common way of accessing web data.

    27. Re:Not really happy by Anonymous Coward · · Score: 0

      Bullshit. Many sites don't even use compression on static resources because the network was not the problem, and page layout in a browsers would take seconds to render large pages even when loaded off disk. You are confusing network bandwidth needed for autoplaying 1080p videos with network speeds needed for fast page load times. Until recently pages rendered slower than the RTT benefits from using HTTP/2 or pipelining.

  7. They bowed to the NSA by Anonymous Coward · · Score: 1

    Does HTTP/2 require encryption?

    No. After extensive discussion, the Working Group did not have consensus to require the use of encryption (e.g., TLS) for the new protocol.

    https://http2.github.io/faq/#d...

    And please, avoid suggesting alternative explanations, it would be an insult to human intelligence.

    1. Re:They bowed to the NSA by ledow · · Score: 1

      HTTP does not require encryption. It's a hypertext protocol.

      However, it can be transported by anything else. You could have HTTP over UDP, or pigeon post if you wanted.

      What you are confusing is a need for security with a completely inappropriate layer for such security. The same way that embedding IP details into FTP DATA packets is stupid and wrong.

      HTTP/2 over TLS is what you want. And that doesn't give a shit what HTTP/2 does in terms of security.

      Actually, infinitely more important are TLS and DNSSEC working together. And, I'd argue, IPv6 after that. What you send over that secure, authenticated, reliable, modern channel is then of little consequence.

      Once you have the transport sorted, the protocol for where the text goes on the page should have no bearing on your actual security.

    2. Re:They bowed to the NSA by Anonymous Coward · · Score: 0

      Although I'm not intimately familiar with your trifecta of TLS + DNSSEC + IPv6, I support your argument against the parents negativity. At the end of the day, the channel to our eyeballs/brain/being needs to be understood - and this fundamental understanding is stupidly simple. The "NSA" etc. can easily intercept it at the point of consumption - IMHO.

    3. Re:They bowed to the NSA by Anonymous Coward · · Score: 0

      HTTP does not require encryption.

      HTTP requires whatever those who approve the standard want it to require.

      HTTP/2 over TLS is what you want

      Which is exactly what the GP was saying, hence he/she wasn't "confusing" anything. HTTP/2 over TLS could have been made mandatory. But for some easy-to-guess reason they "decided" otherwise.

    4. Re:They bowed to the NSA by rjstanford · · Score: 1

      HTTP/2 over TLS could have been made mandatory. But for some easy-to-guess reason they "decided" otherwise.

      Because its the wrong "they" to be making that decision. The working group for HTTP/2 should never be dictating how they feel its use should be restricted. There's plenty of other opportunities for people at the appropriate levels of the chain to make that recommendation. This is a big part of the point of a layered technology.

      --
      You're special forces then? That's great! I just love your olympics!
    5. Re:They bowed to the NSA by Dragonslicer · · Score: 1

      HTTP/2 over TLS could have been made mandatory.

      Not if they're adhering to the OSI networking model. HTTP is an Application protocol, while encryption is a Presentation layer function. There shouldn't be any dependencies between layers.

    6. Re:They bowed to the NSA by Anonymous Coward · · Score: 0

      The protocol is flexible enough to accept different encryption algorithms, if that's your talking point. Just like http/1.1 can be used both with TLS and the old SSL. There's really no decent reason not to mandate encryption.

    7. Re:They bowed to the NSA by Anonymous Coward · · Score: 0

      >> HTTP/2 over TLS could have been made mandatory.
      > Not if they're adhering to the OSI networking model.

      Which they aren't. Because multiplexing is the responsibility of the transport layer.

  8. Slashdot is dead! by Anonymous Coward · · Score: 0

    Slashdot will never be able to support HTTP 2.0. They can't even support typical implementations under HTTP 1.1. Why do I have a "Working..." with the "dog chasing its tail icon" at the bottom of my screen on every page? If they can't even handle things like Javascript, you can put your money on it that they will forcibly implement HTTP 2.0 and break everything (including anything trying to use 1.1) in its path.
     
    Also,

    where it'll be cleaned up and published

    Nice journalistic quality. Let's use slang like "it'll," brah! It'll be fun 2 read d00d lol

    1. Re:Slashdot is dead! by Anonymous Coward · · Score: 0

      The right hand side 40% of this post is blank white space. Maybe Dice needs to put out some job ads or something, woosh!

    2. Re: Slashdot is dead! by Anonymous Coward · · Score: 3, Informative

      "It'll" is a contraction, not slang, you fucking nitwit.

    3. Re: Slashdot is dead! by Anonymous Coward · · Score: 0

      Heh, crude parent modded up shows the sad state of affairs of moderation on this site. RIP, Slashdead!

  9. Solution looking for a problem by Anonymous Coward · · Score: 1

    Want faster page loads? Stop all the links to JS files on a dozen other sites.

    1. Re:Solution looking for a problem by Anonymous Coward · · Score: 0

      I wish I could, but I'm just a dev. The decisions as to which marketing blobs get put on my company's site are out of my hands.

  10. Finally by jones_supa · · Score: 1

    I like how HTTP/2 and SystemD are bringing binary data formats to replace slow to parse text formats. Just throwing the controversial opinion on the table.

    1. Re:Finally by Anonymous Coward · · Score: 0

      So when will systemd support HTTP/2 ?

    2. Re:Finally by Bengie · · Score: 1

      Some of what HTTP2 is trying to fix the issues with TCP by multiplexing multiple streams over a single TCP connection instead of over many TCP connections. anyone with basic understandings of how TCP, HTTP, HTTPS, and networks interact will understand why HTTP2 has major benefits. It's more like a bandaid over other fundamental network issues, but it's better than what we got.

  11. Finally some people get it by funky_vibes · · Score: 1

    Finally, a Web standard that isn't total shit.
    I was starting to lose hope in humanity altogether.
    Now, let's also improve html by removing all JS and other VMism from it, and make it binary.

    1. Re:Finally some people get it by tepples · · Score: 1

      Now, let's also improve html by removing all JS and other VMism from it

      Would you rather have to reload the entire comment page when you fold or unfold a subtree of the comments?

    2. Re:Finally some people get it by funky_vibes · · Score: 1

      I'd rather that a comment feature used a protocol that was designed for the purpose. Newsgroups perhaps?

  12. From the draft... by johnnys · · Score: 2, Interesting

    "HTTP/2... also introduces unsolicited push of representations from servers to clients."

    Seriously? Do we need yet ANOTHER way for a server to push unwanted code and malware onto our client systems? This is the greatest gift we could POSSIBLY give to the cybercriminals who want to break into our systems.

    How about we think of security somewhere in this process, instead of pretending it's someone elses's problem?

    --
    Sometimes the "writing on the wall" is blood spatter...
    1. Re:From the draft... by mangobrain · · Score: 2

      I think you misunderstand what is going on here. Server push is basically a way for sites to pre-populate a browser's cache, by sending it suggested requests for things it doesn't yet know it will need ("push promises"), and the responses to said requests (the pushes themselves). If the server pushes responses to requests that the client never actually ends up making - not even to the extent of pulling the data from its local cache - then the pushed data will never be processed.

      Unless you are sitting on an unpublished proof-of-concept, the only malicious use I can see is filling up the cache of a poorly written browser with nonsense. This is already feasible with HTTP/1.x via any number of means.

      To inject unsolicited, *processed* (as opposed to cached then ignored) data into a browser using HTTP/2 server push, an attacker would also need to control some resource which the client has already requested, and manipulate it in a way which results in the client needing to load the pushed resource. I don't see how this is any less onerous for an attacker than hijacking an HTTP/1.x resource: that initial hijacking, be it by XSS, rooting the server or any other already-extant method, must still be performed. In fact using HTTP/2 push arguably complicates things, since being able to inject the push itself implies either complete control over the server, or a hijack of the entire session!

      Sure, the implementation of the feature itself in any particular HTTP/2 stack could be buggy, but so could anything else.

    2. Re:From the draft... by Anonymous Coward · · Score: 0

      In fact using HTTP/2 push arguably complicates things, since being able to inject the push itself implies either complete control over the server

      This is already the most likely scenario when a malicious script is inserted into a website: the attacker has already gained root-level access to the web server. Hence HTTP/2 doesn't "complicate" any attacks to end users, it probably makes them easier. It would be interesting to know whether script-blocking software (e.g., NoScript) will still be effective with http/2.

      Add to this the refusal to make TLS connections mandatory (contrary to initial consensus), and this new standard smells like NSA from thousands of miles away.

    3. Re:From the draft... by swillden · · Score: 2

      "HTTP/2... also introduces unsolicited push of representations from servers to clients."

      Seriously? Do we need yet ANOTHER way for a server to push unwanted code and malware onto our client systems?

      Yes, we do.

      What you're missing here is that this is pushing content that the browser was going to request in a few hundred milliseconds anyway. Why was the browser going to request it? Because the web page included a link to it.

      The only way this change could affect security is if you assume a threat model where the attacker is able to modify the web server to get it to push additional content to the browser but is somehow unable to modify the content the server is already pushing anyway. If the attacker can do the latter, he can simply insert links to his additional content and the browser will obediently request them. If we think that this thread model is a risk worth mitigating, the solution is trivial: Browsers should accept pushed content but not begin to parse it until it's referenced from the page or whatever.

      Actually, it's pretty unclear what browsers would even do with such pushed content until they'd found it referenced. It would have an attached content type, but most of the time what to do with content depends pretty heavily on the context -- and browsers are generally (rightly) skeptical of content type labels anyway.

      This is the greatest gift we could POSSIBLY give to the cybercriminals who want to break into our systems.

      Well that's a nice bit of hyperbole. It contains no truth, though.

      How about we think of security somewhere in this process, instead of pretending it's someone elses's problem?

      How about we understand what's actually going on, before blowing our stack?

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    4. Re:From the draft... by adiposity · · Score: 1

      "HTTP/2... also introduces unsolicited push of representations from servers to clients."

      Seriously? Do we need yet ANOTHER way for a server to push unwanted code and malware onto our client systems?

      Yes, we do.

      What you're missing here is that this is pushing content that the browser was going to request in a few hundred milliseconds anyway. Why was the browser going to request it? Because the web page included a link to it.

      Well, that sounds to me like my ad-blocking software won't work as well, because stuff that it would have stopped my browser from downloading will be pushed to me whether I request it or not :(

    5. Re:From the draft... by raxx7 · · Score: 1

      Note that server push applies to content the browser could request _from the same server_.
      Usually ad content is served from third party servers.

      But ultimately yes, this can lead to wasting some of your bandwidth in content your browser would have otherwise not asked.

    6. Re:From the draft... by Anonymous Coward · · Score: 0

      Will AdBlock Plus work anyways? Most importantly: will NoScript work anyways?

  13. Re:Great if optimizing the wrong thing is your thi by sinij · · Score: 1

    When Internet revolution arrives, they will be first up against the wall.

  14. Re:Great if optimizing the wrong thing is your thi by Dagger2 · · Score: 4, Informative

    The main problem isn't the size of the stuff that gets loaded. What's dozens of kb these days? Even a megabyte takes a tenth of a second to transfer on my connection. The problem is latency: it takes more than 100ms for that megabyte of data to even start flowing, let alone get up to speed. That's what the multiplexing is intended to deal with.

    That said, the root cause of all this is the sheer amount of unnecessary stuff on pages these days. Fancy multiplexing or not, no request can finish faster than the one that's never made.

  15. "Cheaper"? by Anonymous Coward · · Score: 0

    One notable change is that HTTP requests will be 'cheaper' to make.

    How can something be "cheaper" when the complexity dial just got turned up to eleven?

    HTTP/1 is a bicycle when used in the simplest way (no pipelining, single request), with HTTP/2 being an F35. And all I need is to go half a mile to buy groceries.

    Long ago I wrote a very simple web server in about ten lines of bash script. Try that with HTTP/2.

    1. Re:"Cheaper"? by Bengie · · Score: 1

      Long ago I wrote an OS with only a few lines of code, try to do that with protected mode. HTTP/1.1 has some serious limitations that makes high latency high bandwidth connections feel like dial-up.

  16. Re:Great if optimizing the wrong thing is your thi by Xharlie · · Score: 1

    I agree with what you say but it's a bit like saying dirt roads should never have been replaced with tarred ones because people drive badly or automobile manufacturers build sub-standard cars. (The second simile is probably more appropriate.) I perceive this to be a largely incremental improvement - it isn't exactly revolutionary. Nevertheless, for real web developers who use it properly, it is still a good thing in my opinion. (You forgot to mention popular and horrific "depend on everything" development practices and, in the world of Javascript, "inline it too" - I'm thinking of OpenLayers 3 which in-lines Google Closure!)

  17. Slashdot by ledow · · Score: 5, Interesting

    While we're discussing HTTP, what's wrong with Slashdot lately?

    I keep getting timeouts, signed out, nothing but the front page, everything else loaded from a CDN (that just gives me browser security warnings because it's not coming up as slashdot.org), etc.

    Are you guys under attack, or just unable to keep a site with ~100 comments per article up?

    1. Re:Slashdot by jones_supa · · Score: 1

      Confirming the same problem.

    2. Re:Slashdot by caseih · · Score: 1

      It's been this way for weeks now, off and on. I figure it must be Dice just screwing around with the site, trying to figure out how to get it working with a CDN, and maybe even with SSL! But failing and then reverting the normal, working, no-SSL site. Then trying again. At least a couple of times a week.

    3. Re:Slashdot by Anonymous Coward · · Score: 0

      Reading about the last outage, nobody at Slashdot has any idea how to run a modern redundant website. They seem to use some heavy storage backend instead of any sort of modern distributed design. It's awful.

    4. Re:Slashdot by Anonymous Coward · · Score: 0

      Slashdot sysadmins aren't even smart enough to implement SSL. It's kind of a joke.

    5. Re:Slashdot by sysrammer · · Score: 3, Funny

      Remember when getting Slashdotted meant that *another* site had problems?

      --
      His ignorance covered the whole earth like a blanket, and there was hardly a hole in it anywhere. - Mark Twain
    6. Re:Slashdot by Bengie · · Score: 1

      Hear Hear!

    7. Re:Slashdot by Anonymous Coward · · Score: 0

      Yep. I get the same problems here. [adjusts tinfoil hat] I reckon it's the TLAs intercepting and redacting.

    8. Re:Slashdot by thegarbz · · Score: 1

      Everytime their auto-play videos they Slashdot themselves.

  18. Please run spellcheck this time by master_kaos · · Score: 4, Funny

    So you don't having something like HTTP_REFERER again

    1. Re:Please run spellcheck this time by rjstanford · · Score: 1

      That still bites me every now and then after all these years, and continues to introduce discussions as to at what point in backend code the typo should be fixed.

      --
      You're special forces then? That's great! I just love your olympics!
    2. Re:Please run spellcheck this time by thegarbz · · Score: 1

      It's by design. Datacompresion eats consecutively ocuring and pointles leters which in turn means a faster and more eficient protocol.

  19. Re:Great if optimizing the wrong thing is your thi by TopherC · · Score: 1

    I feel like there's something important in the observation that advertising usually funds communication/information technologies. It seems like a kind of economic failure to me. But I can't quite put my finger on exactly what it is.

  20. Re:Great if optimizing the wrong thing is your thi by Bengie · · Score: 4, Informative

    It's a bandwidth vs latency issue. HTTP1/1.1 is more latency sensitive, HTTP2 helps high latency. You say that pages load slowly because they're so large, yet these large bloated web pages consume nearly no bandwidth. HTTP2 multiplexing allows async requests and preemptive pushing of data, which should allow better usage of bandwidth. Fewer connections will also allow for quicker TCP relieve window ramp up and reduce the thundering hurd issue that many connections over a congested link creates.

  21. Re:Great if optimizing the wrong thing is your thi by Anonymous Coward · · Score: 0

    On YOUR connection, you dick. Not everyone is on fiber.

  22. Re:Great if optimizing the wrong thing is your thi by Daniel+Hoffmann · · Score: 1

    This protocol will enable new types of web applications, things like realtime multiplayer games that need to constantly stream lots of packets at a lower latency. Things that are not done today because the current technology simply can not provide a good enough experience. Plus it will reduce your server load which is nice (marketing scripts and ads are served from third party servers).

  23. Let's see if HTTP/2 is adopted faster than IPv6. by codealot · · Score: 2

    Existing standards that are "good enough" tend to be hard to replace.

  24. Re:Great if optimizing the wrong thing is your thi by Dr_Barnowl · · Score: 1

    Indeed. Someone needs to do a study of how harmful to the environment all the horrible marketing Javascript running on web pages is. It's about the only thing that pegs my CPU when my computer is in "normal" use now ( "normal" being "what normal people do with a computer", because "what programmers do with a computer" is often a little more intense.)

    I'm not someone who so far has joined with the ad-blocking movement, on the proviso that websites need *some* way to keep the server running, but I'm getting really close.

  25. Some ad networks are still HTTP-only by tepples · · Score: 1

    and by the way, chrome and firefox will only allow http2 with TLS

    Will they support HTTP/2 opportunistic encryption (TLS with the http scheme)? Or will webmasters have to negotiate with their ad networks and other third-party providers for support for the https scheme before switching to HTTP/2?

    1. Re:Some ad networks are still HTTP-only by higuita · · Score: 1

      AFAIK they will... but this will not be flagged as a valid https, the traffic will be encrypted but the browser will just act to the user as it was a plain http connection. This because the new https URL was delivered by plain http, without any kind of protection, so could faked. Browsers will only show the correct "https icons" when all (or at least the main) connections are directly valid https

      --
      Higuita
  26. Re:Great if optimizing the wrong thing is your thi by Anonymous Coward · · Score: 0

    You have that backwards. I'm not at all saying that web pages are slow because they're so large. I'm saying that making HTTP/2 a binary protocol is meant to save some bytes, and that that's silly. I say, send those few extra bytes and keep it readable. Binary protocols are brittle and difficult to debug. Saving bandwidth where none of the users of the protocol seem to give a shit about conserving bandwidth or keeping the number of connections per page reasonable, is a completely pointless and counterproductive endeavor.

    Multiplexing may be nice, but I notice that the most fervent proponents are the ones whose scripts bloat almost every web page. An easier and more effective way to speed up the web is to block a few well known domains, if you know what I mean.

  27. Pay per bit still exists by tepples · · Score: 2

    What's dozens of kb these days? Even a megabyte takes a tenth of a second to transfer on my connection.

    Which means you could burn through a 5 GB/mo cap in less than 9 minutes.[1]

    Cellular ISPs in the United States charge a cent or more for each megabyte. Satellite and rural DSL ISPs tend to charge half a cent per megabyte.[2] This means cost-conscious users will have to either install ad blockers or just do without sites that put this "sheer amount of unnecessary stuff on pages".

    [1] 5000 MB/mo * 0.1 s/MB * 1 min/60 s = 8.3 min/mo
    [2] Sources: major cell carriers' web sites; Exede.com; Slashdot/a

  28. Re:Heaven forbid! Actual news for nerds on Slashdo by PhrostyMcByte · · Score: 2

    Natalie Portman, get your grits ready!

  29. Re:Great if optimizing the wrong thing is your thi by Anonymous Coward · · Score: 0

    Isn't that what websockets already do?

  30. No free lunch. by westlake · · Score: 1

    Marketing rots the brain.

    It also pays the bills.

  31. Re:Let's see if HTTP/2 is adopted faster than IPv6 by ADRA · · Score: 1

    IPv6 needs 100% buy-in from all participants or else you need to run/pay for bridging services who converts between the two. HTTP/2 is backward compatible meaning any participants will transparently fall back on HTTP 1/1.1 if it's not supported. Plus, there are far fewer vendors of HTTP servers / clients than there are for IPv4 based software and hardware products.

    --
    Bye!
  32. Re:Great if optimizing the wrong thing is your thi by AFCArchvile · · Score: 3, Informative

    Most of that bloat you speak of is delivered via Javascript. A few weeks ago, I finally put my foot down and made my default browser Firefox with NoScript. I have a (very) small list of sites allowed to execute scripts, and most of the time I will browse a website in its broken state, since I can still see all the text and images. It even foils the news websites that use Javascript to "faux-paywall" their content behind canvases, as opposed to only sending part of the story content from the server (I'm still shaking my head as to who on the business side thought this was a good business stance since one can still read most of the articles for free, but that's another discussion entirely). But lo and behold, once I started a staunch NoScript policy, page loads completed much faster, cookie sprawl was reduced, and Firefox's memory usage stayed relatively low. I also started to learn which scripts from which servers were truly allowed for things like externally-served comment systems (disqus, etc.), and also noticed the way that some webpages end up triggering a cascading dependency of server connections due to scripts calling scripts on other servers, etc.

    One of the worst instances of cascading Javascript sprawl that I've seen was a page from The Verge, with 33 domains allowed (including theverge.com) executing 133 scripts. The SBNation "eulogy for RadioShack" article had the "script counter" go over 160. Oh, and that's leaving out web fonts, which NoScript also blocks (which also reveals how often some websites use custom fonts to draw vector-based icons; you can see the Unicode codes for each character since the font isn't loaded). Vox seems to love abusing Javascript in their designs; it's most of the reason why I've abandoned reading Polygon (the other reasons being the banal editorial content, aside from a few notable articles). In comparison, Slashdot is currently asking for 21 scripts, but is running perfectly fine without any Javascript enabled (despite nagging here and there).

    I've ended up moving YouTube browsing to Pale Moon, since it natively supports the HTML5 player without issues. I may end up moving all of my browsing to Pale Moon with NoScript, since it natively supports a status bar.

    The whole situation with the Javascript bloat reminds me of the scene from Spaceballs where Lonestar tells Princess Vespa, "Take ONLY what you NEED to SURVIVE." We're stuck with a bunch of prima donna web designers who want to duct tape on more adverspamming and social spying avenues to their website, and not standing back and taking a look at how bad it's impacting the user experience, not to mention the bloat from the hundreds of extra scripts and objects loaded by the browser, as well as the tens of connections to third-party servers.

    --
    "Ancillary does not mean you get to rule the world." --U.S. Circuit Judge Harry Edwards, speaking to the FCC's lawyer
  33. Re:Lovely but... by Anonymous Coward · · Score: 0

    That's HTML, not HTTP. And, yeah, HTML forms are still broken. I think the official response is that you should use more JavaScript because making those things work right by default would make far too much sense.

  34. Re:Lovely but... by amicusNYCL · · Score: 1

    If a checkbox is not checked does it still not come in on the post / get ?

    That's HTML, that has nothing to do with HTTP.

    Is a textarea still not a text control?

    That's HTML, that has nothing to do with HTTP.

    --
    "Our two-party system is like a bowl of shit looking at itself in a mirror." - Lewis Black
  35. Re:Lovely but... by rjstanford · · Score: 1

    If a checkbox is not checked does it still not come in on the post / get ?

    if not then it is still broken on arrival.

    Is a textarea still not a text control?

    if not then it is still broken on arrival.

    I think you're confusing HTTP with HTML.

    --
    You're special forces then? That's great! I just love your olympics!
  36. Re:Great if optimizing the wrong thing is your thi by Bengie · · Score: 1

    My understanding is the use of binary is to simplify parsing. It's a lot harder to hardware accelerate a mark up language than looking for byte codes in an ASIC.

  37. Re:Great if optimizing the wrong thing is your thi by Anonymous Coward · · Score: 0

    Minor Correction: When the distributed web revolution arrives, theirs will be first to be filtered out and not re-served by local nodes.

  38. Re:Great if optimizing the wrong thing is your thi by turbidostato · · Score: 1

    "The main problem isn't the size of the stuff that gets loaded [...] the root cause of all this is the sheer amount of unnecessary stuff on pages these days"

    So the main problem *is* in fact the size of that stuff, isn't it?

    Oh! by the way, not everybody's connection is like yours, specially over mobile networks.

  39. Re:Great if optimizing the wrong thing is your thi by turbidostato · · Score: 1

    "for real web developers who use it properly, it is still a good thing in my opinion."

    Well, real web developers basically ignore what HTTP is right now, focusing on HTML, why is this going to change with the new HTTP version?

  40. Re:Let's see if HTTP/2 is adopted faster than IPv6 by codealot · · Score: 1

    That isn't at all true. My laptop has both IPv6 and IPv4 addresses. When I make a request to google.com, I'm using IPv6, when reaching sites that don't have IPv6 I fall back to IPv4. As a user I don't even notice this.

    Similarly, HTTP/2 has to be implemented on clients and servers before it will be functional, else both endpoints need to agree to fall back on HTTP/1.1.

    There's some additional network configuration needed before IPv6 is useful, but no need to convert anything.

  41. Re:Great if optimizing the wrong thing is your thi by Anonymous Coward · · Score: 0

    You're pulling my leg, aren't you? HTTP/2 ASICs?

  42. Broader than CGI by tepples · · Score: 1

    What I also often see is that a browser makes a first request (often for a CGI script)

    2015.

    Still thinking running sites via CGI is relevant.

    I'm pretty sure that "CGI" in Aethedor's post referred not to CGI proper but in a broader metonymic sense to any HTTP response that isn't just the verbatim contents of a file. I get the idea that some pedants hate metonymy.

  43. Re:Let's see if HTTP/2 is adopted faster than IPv6 by Anonymous Coward · · Score: 0

    That isn't at all true. My laptop has both IPv6 and IPv4 addresses. When I make a request to google.com, I'm using IPv6, when reaching sites that don't have IPv6 I fall back to IPv4. As a user I don't even notice this.

    Your router that you connect to needs to do ipv6. Your modem needs to be able to handle it. Your ISP needs to do it. Your ISP's ISP and any partners it connects to needs to do it. The other ends routers need to do it and the computer it connects to also needs to do it. PLUS all the software in between needs to know to make the right tcp6 stack calls. Even now I would say 2-3% of the connections I make are ipv6. The rest are still ipv4. I have the logs to back it up too.

    IPv6 was/is a huge ordeal to make happen. I went thru 2 routers and two modems that said they did ipv6 and did not really. My ISP spent some serious money buying routers to handle it. In the next year or so ipv6 will not be that big of a deal anymore. To get it to work you pretty much need the whole pipeline to be ipv6 (even thru a proxy at some point you have to go back to talking ipv6). About the only thing that ipv6 can reuse from ipv4 is the phys layer.

    HTTP on the other hand uses the existing IP infrastructure so HTTP2 just rides on top of that. Its just a different protocol that looks a lot like the previous one. Its more of flip a switch and if the other end can talk http2 then cool beans. If not back to http1.1/1 for you.

    Comparing it to ipv6 is a bit wrong.

  44. Re:Great if optimizing the wrong thing is your thi by Bengie · · Score: 1

    Have you ever purchased a $250,000 firewall, reverse proxy, and encryption accelerator all-in-one device? These things are meant to handle 10mil HTTPS connections at full duplex 10Gb/s, and establish 400,000 new HTTPS connection per second. Plus, they can re-write and otherwise manipulate HTTP headers. All of this in real time at 10gb/10gb rates. It is not an easy thing to do when parsing text. Binary is much easier to accelerate.

  45. Re:Great if optimizing the wrong thing is your thi by Anonymous Coward · · Score: 0

    what an ignorant comment. ofc the size of stuff that gets loaded affects loading speed you fucking douche

  46. Re:Great if optimizing the wrong thing is your thi by Anonymous Coward · · Score: 0

    You're not in charge of running the Slashdot servers as of late, are you? Anyone who thinks they should put a high level protocol like HTTP in silicon deserves what they get. Complex binary protocols are brittle as hell, especially in a heterogeneous environment. Implementing HTTP/2 that way may look easier, but I assure you you'll only end up turning off the hardware acceleration to have the software handle it after all, just so you can work around the bug of the day, especially if the HTTP/1.x semantics remain valid.

  47. Re:Great if optimizing the wrong thing is your thi by Anonymous Coward · · Score: 0

    My mind is drawn to the HD video that autoplays as a background image on PayPal's homepage.

  48. Re:Great if optimizing the wrong thing is your thi by websitebroke · · Score: 2

    Which is how we'll know who to put up against the wall and shoot.

  49. Re:Great if optimizing the wrong thing is your thi by Archangel+Michael · · Score: 1

    Speaking of Real Time Multiplayer Games ...

    https://www.ingress.com/
    (aka CalvinBall)

    Join the Resistance

    Resistance is Freedom!

    --
    Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
  50. And don't forget... by DocHoncho · · Score: 2

    ...to pay your $699 licensing fee you cock-smoking teabaggers.

    --
    Celebrity worship is a poor substitute for Deity worship and costs more to boot.
  51. Re:Let's see if HTTP/2 is adopted faster than IPv6 by slimjim8094 · · Score: 1

    There are fewer parties - a few servers and a few clients, both which are updated fairly frequently (the servers because admins, the clients because auto-update) are the only ones that matter. Google already supports HTTP/2 (nee SPDY) so a huge percentage of internet traffic is already set up to use it as soon as browsers update (Chrome has had it as SPDY for years, Firefox has it or will soon).

    The v6 slowness was always the ISP (both on the client and server) and the CPE. Now that most of the big US ISPs have their heads on straight, things are looking better for v6 - but Joe Blow bought a WRT54G in 2005 and damned if he'll replace it - it works fine, after all, and who can blame him?

    Despite all this, v6 is actually happening. About 5.8% of all Google's global traffic is v6, and that's more than double from last year. In the US, it's more like 13.9% - which puts us 3rd globally (a rare thing in which the US is internet-competitive). Interestingly, if you zoom in the global graph it's clear that workplaces are far behind residential connections (weekends are a big jump).

    --
    I have developed a truly marvelous proof of this comment, which this signature is too narrow to contain.
  52. Re:Great if optimizing the wrong thing is your thi by Dagger2 · · Score: 3, Interesting

    No... maybe. It depends.

    Amdahl's law is in full force here. There comes a point where increasing the bandwidth of an internet connection doesn't make pages load faster, because the page load time is dominated by the time spent setting up connections and requests (i.e. the latency). Each TCP connection needs to do a TCP handshake (one round trip), and then each HTTP request adds another round trip. Also, all new connections need to go through TCP window scaling, which means the connection will be slow for a few more round trips. Keep-alive connections help a bit by keeping TCP connections alive, but 74% of HTTP connections only handle a single transaction, so they don't help a great deal.

    Oh! by the way, not everybody's connection is like yours, specially over mobile networks.

    Mobile networks (and, yes, satellite) tend to have high latency, so round-trips are even more of the problem there. Also... when people shop for internet connections, they tend to concentrate on the megabits, and not give a damn about any other quality metrics. So that's what ISPs tend to concentrate on too. You'll see them announce 5x faster speeds, XYZ megabits!!, yet they don't even monitor latency on their lines. And even if your ISP had 0ms latency, there's still the latency from them to the final server (Amdahl's law rearing its ugly head again).

    Given all that, I think I'm justified in saying that the main problem with page loading times isn't the amount of data but the number of round-trips required to fetch it. Reducing the amount of data is less important than reducing the number of, or impact of, the round-trips involved. And that's the main problem that HTTP/2 is trying to address with its fancy binary multiplexing.

    (Now, if your connection is a 56k modem with 2ms latency, then feel free to ignore me. HTTP/2 isn't going to help you much.)

  53. Re:Let's see if HTTP/2 is adopted faster than IPv6 by thegarbz · · Score: 1

    Existing standards that are NOT good enough, where replacements are not backwards compatible are hard to replace.

    This is very different from IPv6 where both the server and the client have an automatic fallback ability. It's more like USB2.0 vs USB1.0 or SSL3 vs SSL2 (security issues with these aside). HTTP/2 can be implemented by any server regardless of the client (like Apache's mod_SPDY). It can be implemented by any client regardless of the server (Chrome already implements SPDY). All transparent to the user with automatic fallback.

    Such standards find themselves replaced very easily when one or two major companies get behind the effort.

  54. Would every web browser have to be a news reader? by tepples · · Score: 1

    If comment sections were to switch to NNTP, whose responsibility would it be to implement all the purpose-designed protocols for display in the context of a web document? Would every web browser have to implement mail, NNTP, torrents, etc.? The only major browser I know of that does anything remotely like that is SeaMonkey, and even then it segregated news and web views last time I checked.

  55. Re: Would every web browser have to be a news read by funky_vibes · · Score: 1

    It'd be many times easier than implementing the current mess, which no browser so far has been able to do properly.

  56. A wild noscript purist appears by tepples · · Score: 1

    Now, let's also improve html by removing all JS and other VMism from it

    Comment sections and forums aren't the only application of DHTML (manipulation of the HTML DOM through script) that loss of script might break. What workarounds for lack of script would you propose for these?

    • Collaborative editing of text without having to make discrete revisions and resolve conflicts between revisions edited by multiple users in a short time span
    • Editing of images
    • Notification of new posts to a stream without having to reload the entire stream every time
    • Form validation without having to resubmit the form every time, such as the real-time Markdown preview in Stack Exchange
    • Prefix search suggestions without having to resubmit the form after every letter, such as title matching on Wikipedia
    • Instructional animations without having to render each frame to pixels, which in my tests bloats the animation by a factor of ten
    • Games that are not turn-based
    • Offline use of applications where applicable
    • Drop-down menus on touch-screen devices, which by their nature cannot support the :hover pseudoselector in CSS
    • All of the above without having to beg operating system publishers for a license to develop on their respective platforms, write 14 native applications for 14 operating systems, and beg the operating system publishers to approve said applications for distribution to the public
    1. Re: A wild noscript purist appears by funky_vibes · · Score: 1

      I really don't care what you do, I prefer a Web without all that shit, unless you implement it properly ie. create a suitable standard, and implement it natively if you really have to.
      The current spaghetti of dynamic nonsense has lead us to every single bad design decision ever made in software development being made mandatory on every pc.

    2. Re: A wild noscript purist appears by tepples · · Score: 1

      create a suitable standard

      Good luck getting it adopted. For the first several years, users of iOS couldn't even upload pictures or videos from the camera's storage through a web form using the <input type="file"> element that has been around since Netscape 2.

      and implement it natively if you really have to.

      When I create and publish native applications for my platform, good luck implementing the environment in which to run them on your platform.

  57. Re: Would every web browser have to be a news read by tepples · · Score: 1

    Define "properly". I have posted to Slashdot on a Wii game console using the "Internet Channel powered by Opera" app. It was dog slow, but it was better than not working at all, which is what would happened had Slashdot used NNTP.

  58. Re: Would every web browser have to be a news rea by funky_vibes · · Score: 1

    Sure and I can use just about every protocol from the console except the Web since most websites do useless dynamic crap that doesn't work with links2.

  59. Re:Let's see if HTTP/2 is adopted faster than IPv6 by Anonymous Coward · · Score: 0

    Existing standards that are "good enough" tend to be hard to replace.

    HTTP/2 is just a modified version of SPDY.

    Do you use Google or Facebook in any browser other than Internet Explorer? You are already using HTTP/2 v0.8.

  60. Re:Great if optimizing the wrong thing is your thi by dave420 · · Score: 1

    Those analytics scripts are usually from an analytics service provider, and so are incredibly well cached, and shared across services. If you are repeatedly downloading the 15.7KB Google Analytics JS file, you are doing something wrong.

    If you'd spent any time looking in to HTTP performance, you'd know there is a lot to be desired. HTTP/2 is a step in the right direction. It's not saving a couple of bytes, it's saving a shit-tonne of bytes, using connections more efficiently, and improving encryption support massively.

    But I'm sure your anonymous, throw-away, off-hand comment carries far more weight than the actual experts in this field.

  61. Re:Let's see if HTTP/2 is adopted faster than IPv6 by dave420 · · Score: 1

    My ISP supports IPv6 and I didn't even realise until I ran ifconfig and saw IPv6 addresses. Just because your ISP can't handle it don't assume others can't!

  62. Re:Let's see if HTTP/2 is adopted faster than IPv6 by ebvwfbw · · Score: 1

    If you're not ipv6 by now, you should look into it. Otherwise you may be compared to a cave man, real soon. They may use you on a Geico commercial.