tornado icon indicating copy to clipboard operation
tornado copied to clipboard

Brotli compression

Open itayB opened this issue 4 years ago • 2 comments

Hi,

We are using compress_response=True in tornado.web.Application to use gzip compression for requests arriving in our servers. I wonder if there's a plan to support Brotli compression as well?

Thanks

itayB avatar Mar 15 '21 09:03 itayB

Even gzip on the python side not so effective... much better using it on Nginx or similar (if it will support brotli). At the same time, I suppose it will be easy to implement.

stalkerg avatar Mar 20 '21 03:03 stalkerg

I don't have any plans to work on this, but I think it could be useful. I wouldn't want to add a third-party dependency for it, though, so I think the right way to go about it would be to figure out how to parameterize things so that you could plug in an external compression module.

bdarnell avatar Mar 20 '21 15:03 bdarnell