Open asvetlov opened 6 years ago
btw I am not sure if zlib.compressobject
does crc on gzip stream
Is it a good idea to brotli-compress dynamic content in runtime?
Maybe, but if should be off by default and controlled by user. Like we already do for gzip.
Also server should compress only if Accept-Encoding
contains br
.
From what I found it should faster and smaller than gzip on 4-5 compression levels
Done
Should this be closed? The linked PR was never merged and I don't see any documentation regarding the server supporting Brotli.
Thanks. Can the old PR be revived? If not, an incremental change to at least serve *.br
files when available would be a big help.
It was closed by the author, you are welcome to fork their branch and open a new one.
Now brotli is supported on client side for reading brotli compressed responses. We need to support it on other sides: sending client request, reading request on server and sending server response, multipart maybe.
See the difference between
brotly
andzlib
usage. Ideallybrotly
should be supported everywhere we do supportgzip
byzlib
library usage.