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.

Brotli compression for the web

88 pointsby ssttooover 9 years ago

8 comments

kevingaddover 9 years ago
Brotli is an awesome codec, but in a lot of my tests it was not really compelling versus LZHAM in terms of compression speed or compression ratio. In some test cases it edges it out on speed or ratio, but on others it's a tie if not worse. Sadly, in my testing I also hit at least one crash bug in the Brotli compressor, which makes it feel like an immature codec. On the bright side, the bug was fixed extremely quickly. I hope integration in browsers will help push the codec forward and encourage the developers of other codecs to try harder so that we get a really heated competition :-)
评论 #10811968 未加载
dizietover 9 years ago
The support is really only on firefox: <a href="http:&#x2F;&#x2F;caniuse.com&#x2F;#search=brotli" rel="nofollow">http:&#x2F;&#x2F;caniuse.com&#x2F;#search=brotli</a><p>Chromium is still milling on this: <a href="https:&#x2F;&#x2F;code.google.com&#x2F;p&#x2F;chromium&#x2F;issues&#x2F;detail?id=452335" rel="nofollow">https:&#x2F;&#x2F;code.google.com&#x2F;p&#x2F;chromium&#x2F;issues&#x2F;detail?id=452335</a><p>But there seems to be some progress: <a href="https:&#x2F;&#x2F;chromium.googlesource.com&#x2F;chromium&#x2F;src.git&#x2F;+log&#x2F;lkcr&#x2F;third_party&#x2F;brotli" rel="nofollow">https:&#x2F;&#x2F;chromium.googlesource.com&#x2F;chromium&#x2F;src.git&#x2F;+log&#x2F;lkcr...</a>
评论 #10793991 未加载
Sami_Lehtinenover 9 years ago
More detailed comparison: <a href="https:&#x2F;&#x2F;www.gstatic.com&#x2F;b&#x2F;brotlidocs&#x2F;brotli-2015-09-22.pdf" rel="nofollow">https:&#x2F;&#x2F;www.gstatic.com&#x2F;b&#x2F;brotlidocs&#x2F;brotli-2015-09-22.pdf</a>
评论 #10794354 未加载
评论 #10794258 未加载
ameliusover 9 years ago
I&#x27;m hoping for a compression algorithm which allows for separated codebooks, so e.g. one can compactly send updates when previous versions have already been transferred.
评论 #10795850 未加载
评论 #10793936 未加载
kenOfYugenover 9 years ago
Previous discussion from 3 months ago:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10257305" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10257305</a>
powturboover 9 years ago
You can make your own tests and your data with TurboBench: <a href="https:&#x2F;&#x2F;github.com&#x2F;powturbo&#x2F;TurboBench" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;powturbo&#x2F;TurboBench</a>
nailerover 9 years ago
Anyone know if there&#x27;s something planned for haproxy?
Dylan16807over 9 years ago
I still don&#x27;t understand why it&#x27;s &#x27;br&#x27; in the header and not &#x27;brotli&#x27;
评论 #10793801 未加载
评论 #10793850 未加载