Title: Brotli Compression
Last modified: January 20, 2020

---

# Brotli Compression

 *  Resolved [junior2020](https://wordpress.org/support/users/junior2020/)
 * (@junior2020)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/brotli-compression/)
 * Hello,
 * i have installed on my centos server php 7.3 with brotli module compression.
   
   I installed w3 on my wordpress so the option to activate brotli is not available.
   I checked and everything is installed correctly on my server. What could be happening?
 * Thanks
 * Junior

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/brotli-compression/#post-12343182)
 * Hello [@junior2020](https://wordpress.org/support/users/junior2020/)
 * We check if PHP support for brotli compression is available. We don’t allow to
   use brotli for HTML when there’s no PHP functionality.
    Please install this module
   so you can enable brotli. Link below: [https://github.com/kjdev/php-ext-brotli](https://github.com/kjdev/php-ext-brotli)
   We use AddOutputFilterByType BROTLI_COMPRESS and AddOutputFilter BROTLI_COMPRESS.
   The reason we do that is because the Apache website suggests it: [https://httpd.apache.org/docs/trunk/mod/mod_brotli.html](https://httpd.apache.org/docs/trunk/mod/mod_brotli.html)
 * Make sure to remove any previously installed brotli module before installing 
   PHP brotli.
    Thank you!

Viewing 1 replies (of 1 total)

The topic ‘Brotli Compression’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/brotli-compression/#post-12343182)
 * Status: resolved