WordPress in Firefox Quantum Inspector shows brotli compression

WordPress in Firefox Quantum Inspector shows brotli compression

Use your browser Inspector to determine the compression algorithm the server used to send files to your browser. You will have to enable “Content-Encoding” column under “Network” tab and after refreshing the site, you should see “br” encoding next to text files.

“br” indicates brotli compression.

WordPress on nginx with brotli compression:

Self hosting WordPress securely in 2018 on FreeBSD with nginx, PHP 7.2, ModSecurity, brotli, Let’s Encrypt SSL

brotli nginx configuration:

brotli on; 
    brotli_static on; 
    brotli_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;

Brotli support has also be compiled into nginx.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.