3 ms·
On a related note, I got an email today saying that Cloudflare will automatically turn on Brotli compression later this month. Does anyone know if Brotli really
by yawaramin 3y ago
On a related note, I got an email today saying that Cloudflare will automatically turn on Brotli compression later this month. Does anyone know if Brotli really makes a difference beyond gzip?
- adgjlsfhk1 3y agoBrotli and ZSTD are both a bunch better (~20% file size while being faster to decompress). Brotli does especially well on javascript/html because they hard-code some of the keywords in the spec.
- jgrahamc 3y agoIt does. That's why we're turning it on automatically. We've supported it since 2017 and we have made a bunch of changes recently that make it better. https://blog.cloudflare.com/results-experimenting-brotli/ https://blog.cloudflare.com/results-experimenting-brotli/ https://blog.cloudflare.com/brotli-compression-using-a-reduced-dictionary/ https://blog.cloudflare.com/brotli-compression-using-a-reduc...
- powturbo 3y agoI've made a benchmark with real html data including memory usage in [2] and a recent benchmark in [3] with TurboBench [1]. In the speedup plots you can see the best compressors for content providers: - brotli 11 is best for static content - brotli 5 is best until 1MB/s network transfer speed - libdeflate 6 is best from 1MB/s to 6MB/s (followed by brotli,4) - igzip 1,2 is best for very fast networks > 10MB/s brotli brings little value at decompression for users [1] https://github.com/powturbo/TurboBench https://github.com/powturbo/TurboBench [1] https://sites.google.com/site/powturbo/home/web-compression https://sites.google.com/site/powturbo/home/web-compression [2] https://encode.su/threads/2333-TurboBench-Back-to-the-future-(incl-LzTurbo)?p=78754&viewfull=1#post78754 https://encode.su/threads/2333-TurboBench-Back-to-the-future...