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.

366559 – Brotli Accept-Encoding/Content-Encoding

28 pointsby th0br0over 9 years ago

7 comments

Mithalduover 9 years ago
Earlier: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10365480" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10365480</a>
评论 #10369634 未加载
jgrahamcover 9 years ago
If you are interested in testing Brotli on the web the CloudFlare test server for HTTP&#x2F;2 and IPv6 also does Brotli compression.<p><a href="https:&#x2F;&#x2F;http2.cloudflare.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;http2.cloudflare.com&#x2F;</a><p>And the NGINX module that does it has been open sourced: <a href="https:&#x2F;&#x2F;github.com&#x2F;cloudflare&#x2F;ngx_brotli_module" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;cloudflare&#x2F;ngx_brotli_module</a>
评论 #10369282 未加载
evmarover 9 years ago
Random note about accept-encoding that might have been corrupted by my memory: at some point in the past wikipedia was blocking Googlebot due to it hammering their servers. Some debugging revealed that Googlebot&#x27;s accept-encoding header was different than browsers and so it was missing the wikipedia cache. (Wikipedia heavily relies (relied?) upon a caching layer because their pages can take like two full seconds of CPU time to render otherwise.)<p>The kinda awful fix was to add support for the compression variant nobody uses (deflate?) to Googlebot so that its accept-encoding header matched the common one.<p>It would be ironic if adding this header to Firefox wrecked their page load performance for wikipedia!
评论 #10369645 未加载
TazeTSchnitzelover 9 years ago
Wondering if this will fare better than gzip for my use case of compressing a Windows 95 disk image (<a href="http:&#x2F;&#x2F;win95.ajf.me&#x2F;" rel="nofollow">http:&#x2F;&#x2F;win95.ajf.me&#x2F;</a>). Will have to try it out.
cmkrnlover 9 years ago
As a Linux sysadmin in Norway... bro means bridge and br reminds me of brctl(8).
评论 #10369391 未加载
评论 #10370939 未加载
amlutoover 9 years ago
I&#x27;m not a compression expert at all, but I&#x27;ve read about ANS a few times lately, and I wonder whether an ANS variant of Brotli might be an even better choice.
mahouseover 9 years ago
People upset by the &quot;bro&quot; word. Peak Mozilla.
评论 #10369403 未加载
评论 #10369397 未加载
评论 #10369636 未加载
评论 #10369372 未加载
评论 #10369390 未加载
评论 #10369374 未加载
评论 #10369302 未加载