4 ms·
Brotli is amazing. But... > Brotli can compress faster than gzip and still produce smaller files Huh? > For dynamic content, we'll use 4, which still produce
by paulddraper 8y ago
Brotli is amazing. But...
> Brotli can compress faster than gzip and still produce smaller files
Huh?
> For dynamic content, we'll use 4, which still produces smaller responses but takes less time to compress than gzip or brotli on a higher setting.
Oh if you compare to gzip max. But who runs gzip max? Gzip 6 gives decent low cost compression. Gzip 9 is barely smaller but much slower.
Algorithms have their sweet spots. Brotli (small), LZMA (fast), gzip (somewhere in between).
Knowing nothing about my clients, bandwidth, or dynamism, I can turn on gzip without really a second thought.