Hacker News new | ask | show | jobs
by stabbles 3167 days ago
I'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.

2 comments

> 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/