Re: [users@httpd] brotli with Apache and PHP-FPM - possible?

2021-03-22 Thread Rainer Canavan
[...] > But does not work if it's PHP - in this case, the content is compressed > with "gzip": > > $ curl -v -H "Accept-Encoding: gzip, deflate, br" > https://server.tld/pp.php 2>&1 | grep content-encoding > < content-encoding: gzip > > Curiously, it does work with PHP if I specify "br" as the

[users@httpd] brotli with Apache and PHP-FPM - possible?

2021-03-19 Thread Tomasz Chmielewski
I've tried enabling brotli with Apache on Ubuntu 20.04 (running Apache 2.4.41). Brotli works, but not for content generated with PHP. It works for HTML files: $ curl -v -H "Accept-Encoding: gzip, deflate, br" https://server.tld/pp.html 2>&1 | grep content-encoding < content-encoding: br But