# Enable Brotli

Enhance ships with the brotli extension (opens new window) but this is not enabled by default.

To enable Brotli:

  1. Select Websites from the left side menu
  2. Select the website you would like to enable Brotli on
  3. On the website dashboard select Advanced then Developer tools
  4. Scroll to PHP extensions and enable Brotli by selecting the checkbox
  5. Next scroll to the php.ini editor
  6. Select Add directive and enter the following directive details

Directive: brotli.output_compression

Value: Boolean

Boolean: Enable

WARNING

This may conflict with other compression performed by the web server or any caching proxy or CDN you are using.

  1. Click Create to finish