This is an old revision of the document!


Disabling Brotli Compression Server Wide

Beginning with LiteSpeed Web Server version 5.2, Brotli, a new compression method, is now supported and enabled by default.

Note: If your browser does not yet support Brotli compression, LiteSpeed will automatically default back to gzip. As such, we only recommend disabling Brotli if encountering issues.

While useful for reducing the size of static web pages, Brotli compression can sometimes cause issues with web pages containing pre-compressed content, such as gzip compressed PHP. In these cases it may be desirable to disable Brotli server wide, which can be accomplished with the following steps.

  1. Log in to the LiteSpeed WebAdmin Console
  2. Navigate to Configuration → Server → Tuning
  3. Scroll down to Brotli Compression and click “Edit”.
  4. Change the following:
    • Enable Brotli Compression: Yes/Not Set → No
  5. Save and perform a graceful restart to apply the change.

Brotli compression should now be disabled server wide.

  • Admin
  • Last modified: 2017/10/24 18:20
  • by Johathan Kagan