7 ms·
what about Zopfli/brotli? Gzip compression benefits taper off in benefit after the "7" setting, IIRC. Brotli at higher settings compresses better, but you'd wa
by erik_p 9y ago
what about Zopfli/brotli?
Gzip compression benefits taper off in benefit after the "7" setting, IIRC. Brotli at higher settings compresses better, but you'd want to do it static as opposed to on the fly (at higher/highest settings)
- stabbles 9y agoI've tried that as well, but you need a brotli module for nginx. No problem if you're using Docker, but I just used the mainline distribution of nginx on Ubuntu 16. I'm curious if brotli's decompression is still fast on high compression levels. This is the case for gzip IIRC.
- erik_p 9y agomy recollection is that it decompresses fine/performantly, let me see if I can dig up an article. https://blog.codinghorror.com/zopfli-optimization-literally-free-bandwidth/ https://blog.codinghorror.com/zopfli-optimization-literally-... https://blogs.akamai.com/2016/02/understanding-brotlis-potential.html https://blogs.akamai.com/2016/02/understanding-brotlis-poten... one more: https://medium.com/front-end-hacking/reduce-your-javascript-bundle-size-by-77-6fa5024680ca https://medium.com/front-end-hacking/reduce-your-javascript-...
- tomatsu 9y ago> I'm curious if brotli's decompression is still fast on high compression levels. This is the case for gzip IIRC. Yes, it's optimized for fast decompression. Compression, on the other hand, is comparatively expensive. This trade-off makes Brotli very interesting for static assets. https://quixdb.github.io/squash-benchmark/ https://quixdb.github.io/squash-benchmark/