10 ms·
> Cool, now you have to uncompress it every time you want to serve it? Not necessarily! If the client supports Brotli encoded data (Accept-Encoding: br), you c
by duskwuff 2y ago
> Cool, now you have to uncompress it every time you want to serve it?
Not necessarily! If the client supports Brotli encoded data (Accept-Encoding: br), you can pass it straight through without decompressing. Ditto for gzip, or zstd for newer browsers.
- ajayvk 2y agoYes, most browsers accept Brotli compressed data, so there is no need to decompress