TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

HTTP/2 Is Done

437 pointsby stephenjudkinsover 10 years ago

13 comments

bgentryover 10 years ago
It&#x27;s time to begin the long process of unwinding all the hacks that we&#x27;ve built to make HTTP&#x2F;1.1 fast. No more concatenation of static assets, no more domain sharding.<p>The future looks more like this, as the default, with no special effort required: <a href="https://http2.golang.org/gophertiles" rel="nofollow">https:&#x2F;&#x2F;http2.golang.org&#x2F;gophertiles</a><p>May nobody else have to suffer through writing an interoperable HTTP&#x2F;1.1 parser!
评论 #9067734 未加载
评论 #9067130 未加载
评论 #9067350 未加载
评论 #9067360 未加载
评论 #9067802 未加载
评论 #9067271 未加载
banticover 10 years ago
I read Daniel Stenberg&#x27;s (he is a maintainer of curl, I think?) &quot;http2 explained&quot; pdf the other day, and it&#x27;s by far the best comprehensive explanation of http2 that I have seen. Well worth a read if you&#x27;re curious what&#x27;s coming with http2. <a href="http://daniel.haxx.se/http2/" rel="nofollow">http:&#x2F;&#x2F;daniel.haxx.se&#x2F;http2&#x2F;</a>
评论 #9068477 未加载
thomasfoster96over 10 years ago
I know I&#x27;m apparently not meant to be, but I&#x27;m genuinely keen to start using HTTP&#x2F;2. If you&#x27;ve been following some of the things being done in HTML recently (rel=subresource, rel=dns-prefetch), I think it&#x27;s starting to become a little obvious that for most people HTTP is the bottleneck. HTTP&#x2F;2 seems to be a good, solid step forwards. If it&#x27;s not perfect, well, it doesn&#x27;t have to be; 2 isn&#x27;t the last number.
评论 #9069105 未加载
评论 #9066921 未加载
logicalleeover 10 years ago
this seems nice, pretty conservative.<p><a href="https://tools.ietf.org/html/draft-ietf-httpbis-http2-17" rel="nofollow">https:&#x2F;&#x2F;tools.ietf.org&#x2F;html&#x2F;draft-ietf-httpbis-http2-17</a><p>&quot;<p>Abstract<p><pre><code> This specification describes an optimized expression of the semantics of the Hypertext Transfer Protocol (HTTP). HTTP&#x2F;2 enables a more efficient use of network resources and a reduced perception of latency by introducing header field compression and allowing multiple concurrent exchanges on the same connection. It also introduces unsolicited push of representations from servers to clients. This specification is an alternative to, but does not obsolete, the HTTP&#x2F;1.1 message syntax. HTTP&#x27;s existing semantics remain unchanged. </code></pre> &quot;<p>all these changes seem good without a large change, just an improved user experience. (the Introduction section is also good - &quot;HTTP&#x2F;2 addresses these issues by defining an optimized mapping of HTTP&#x27;s semantics to an underlying connection&quot;, I&#x27;d quote more but why not click through the link at the top of this comment. basically just some compression of headers, none of the funky stuff to keep connections alive for server push, prioritizing important requests, etc. all without changing semantics much - great.)
blueskin_over 10 years ago
Did that anti-encryption backdoor get put in in the end or not? News reporting on it went quiet a while back...
theallanover 10 years ago
Does anyone have any information about HTTP&#x2F;2 development in Apache? Searching the bug list I don&#x27;t immediately see anything and the only thing I can find from a Google search is a mailing list entry with someone asking about http&#x2F;2 development and being told that it isn&#x27;t really being worked on [1]<p>[1] <a href="http://mail-archives.apache.org/mod_mbox/httpd-dev/201408.mbox/%3CCALK=YjONaJzKsYouzrYJrhT=ZXW6oHbZCgtBH9nfi5wuP=qwDw@mail.gmail.com%3E" rel="nofollow">http:&#x2F;&#x2F;mail-archives.apache.org&#x2F;mod_mbox&#x2F;httpd-dev&#x2F;201408.mb...</a>
tropicalmugover 10 years ago
I wish instead of a protocol improvement that focused solely on network resources, the next version will also include improvements for users such as encryption by default and doing away with cookies.
评论 #9067244 未加载
评论 #9066869 未加载
cm2187over 10 years ago
Stupid question: would you rather have server push serving static content from the application server or a CDN for the static assets? If a CDN, how can server push be leveraged when the assets are not related to each others (and the server can&#x27;t tell in which order they will be requested).
评论 #9070233 未加载
评论 #9067627 未加载
orthecreedenceover 10 years ago
Question: I originally heard HTTP&#x2F;2 would force TLS and have it baked into the protocol. Is this still the case? If so, is this going to be strictly enforced? I think it&#x27;s a really terrible idea to melt a protocol and a transport together. Or am I misunderstanding how it works?
评论 #9069807 未加载
scorpwarp23over 10 years ago
I&#x27;d really like to know what this means in the context of MeteorJS - particularly how the HTTP Push feature will affect MeteorJS in the long run. Does it make MeteorJS redundant?
jgrahamcover 10 years ago
[placeholder for commentary about how HTTP&#x2F;2 is a bad protocol because it&#x27;s binary and everything could have been fixed in a text protocol follow by ad nauseum repetition of all the same old arguments]
评论 #9066845 未加载
评论 #9066749 未加载
评论 #9066726 未加载
RunningWildover 10 years ago
Another year, another wheel reinvented.
评论 #9067300 未加载
lazyloopover 10 years ago
HTTP&#x2F;2 is a bad protocol, that much is clear by now. Luckily most of us won&#x27;t have to deal with it, because it will be deployed merely as an optimization, with a new generation of reverse-proxy servers, like H2O. <a href="https://github.com/h2o/h2o" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;h2o&#x2F;h2o</a>
评论 #9066598 未加载