FAQ

Brotli Data Compression Algorithm

The modern Brotli data compression algorithm is enabled alongside Gzip when activating compression in cPanel . Compared to Gzip, Brotli achieves smaller payload sizes for HTML, CSS, and JavaScript. If a client does not support Brotli, LiteSpeed automatically falls back to Gzip.

How to Disable Brotli for a Specific Site

If needed, you can disable Brotli via the .htaccess file in your document root by adding the following snippet:

<IfModule LiteSpeed>
    SetEnv no-brotli
</IfModule>

How Can I Verify That Brotli Is Active on My Website?

  • Via Browser Developer Tools: Open the Network tab (F12 -> Network -> reload page -> click request -> Response Headers) and look for content-encoding: br.
  • Via Online Checker: Use the KeyCDN Brotli Test .