Hello,
That’s exactly the website I used to setup brotli, but still, tests on my website shows that I’m still using gzip.
I made some more tests with different testing sites and it seems that my server is properly setup for both, I found 2 or 3 testing sites that do test both methods and they are telling me brotli is available and functionning, but still, the default method still seems to be gzip. For example Brotli Test - Verify Brotli Compression Support | KeyCDN Tools states that “Brotli compression is supported.”.
I think it might be a consequence of:
Accept-Encoding gzip, deflate, br
Which shows gzip as being the first method used … and this is the real header as seen when doing a webpage inspection (network, headers), so as of now, I think I did setup brotli properly but I would have to amend that order to have brotli as the preferred method.
I looked everywhere in all the Apache config files, I cannot find that line anywhere … I would like to make it
Accept-Encoding br, gzip, deflate
That’s my current thinking at this time … well … I also tried adding
Header add Accept-Encoding: br
to the virtual host config file, to the htaccess … the web inspector still gives me the same result, gzip is used.
Pierre.