Title: Error html gzip
Last modified: September 5, 2019

---

# Error html gzip

 *  Resolved [yraver](https://wordpress.org/support/users/yraver/)
 * (@yraver)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/error-html-gzip/)
 * Hi,
 * GZIP for HTML wont enable. Your system tells me:
 * 1. We’ve detected you have Privacy Mode active which prevents us from accurately
   detecting whether HTML compression is active or not. You can re-check this when
   you’ve disabled Privacy Mode.
 * 2. Your server may not have the “deflate” module enabled (mod_deflate for Apache,
   ngx_http_gzip_module for NGINX).
 * 3. Contact your host. If deflate is enabled, ask why all .htaccess or nginx.conf
   compression rules are not being applied.
 * So I contacted our hosting company and received the following reply:
 * “PHP generated HTML files can’t be compressed. This is because of the sofware
   we use for our webserver, PHP-FPM in combination with FastCGI.
 * A GIP test will probably tell you that the functionality is off, however, this
   is not the case (except for the PHP generated HTML files).”
 * What do you think we should do next to solve the problem? GTMetrix and your system
   displays that HTML Gzip is definately disabled.
 * Looking forward to your reply.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-html-gzip%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Support [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * (@wpmudev-support2)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/error-html-gzip/#post-11903247)
 * Hello [@yraver](https://wordpress.org/support/users/yraver/) ,
 * This very strange what your hosting said because Apache or Nginx can compress
   PHP generated HTML files on the fly.
    So I’m not really sure what they meant.
   For sure gzip compression is not enabled on your site, even this test shows that
   [https://www.giftofspeed.com/gzip-test/](https://www.giftofspeed.com/gzip-test/)
 * Can you get information about what type of server it is? Apache or Nginx?
 * kind regards,
    Kasia
 *  Thread Starter [yraver](https://wordpress.org/support/users/yraver/)
 * (@yraver)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/error-html-gzip/#post-11911569)
 * Hi [@wpmudev-support2](https://wordpress.org/support/users/wpmudev-support2/),
 * The response from my hosting company:
 * “This is in line with what we said earlier. The GZIP function is actually on,
   but in tests it probably doesn’t show up.
 * and
 * “PHP generated HTML files cannot be compressed because of the software we use
   in our webserver, PHP-FPM in combination with FastCGI.”
 * So my question to you [@wpmudev-support2](https://wordpress.org/support/users/wpmudev-support2/)
   did you ever see that GZIP seemed not activated, however it was actually activated?
 * Let me know what you think we could do about this. In the worst case i’m willing
   to change from hosting provider.
 * Thank you in advance.
 *  [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/error-html-gzip/#post-11911950)
 * [@yraver](https://wordpress.org/support/users/yraver/),
 * No, gzip compression is either on or off. The compressed assets will be served
   with a special header that will allow various testing tools to distinguish between
   compressed and uncompressed states. So if testing tools report gzip compression
   to be disabled – it is probably disabled.
 * Best regards,
    Anton
 *  Thread Starter [yraver](https://wordpress.org/support/users/yraver/)
 * (@yraver)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/error-html-gzip/#post-11913369)
 * Hi,
 * So i just spoke with the hosting provider again. They indeed confirm that PHP
   generated HTML files cannot be compressed because of the software they use in
   our webserver, PHP-FPM in combination with FastCGI.
 * Now we know for sure, PHP generated HTML files can’t be compressed due to their
   server settings. Is there a solution? or should i change from hosting provider.
 * Thank you.
 *  [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/error-html-gzip/#post-11915750)
 * [@yraver](https://wordpress.org/support/users/yraver/),
 * That’s a decision that you’ll have to make for yourself. If you’re happy with
   your hosting provider and your site performance – I wouldn’t go through the trouble
   of changing providers. Gzip compression won’t make a **huge** impact on performance.
   You can enable Page Caching and Hummingbird has an option to serve compressed
   cache. So that will be similar to Gzip compression. If you are having ongoing
   issues besides the gzip compression problem, you can consider switching to a 
   new hosting.
 * Best regards,
    Anton
 *  Thread Starter [yraver](https://wordpress.org/support/users/yraver/)
 * (@yraver)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/error-html-gzip/#post-11917059)
 * Hi Anton,
 * Ok, I’ll stay with for the hosting company for now and continue with optimizing
   with hummingbird.
 * Thank you!
    -  This reply was modified 6 years, 8 months ago by [yraver](https://wordpress.org/support/users/yraver/).

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Error html gzip’ is closed to new replies.

 * ![](https://ps.w.org/hummingbird-performance/assets/icon-256x256.gif?rev=2633221)
 * [Hummingbird Performance - Cache & Page Speed Optimization for Core Web Vitals | Critical CSS | Minify CSS | Defer CSS Javascript | CDN](https://wordpress.org/plugins/hummingbird-performance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hummingbird-performance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hummingbird-performance/)
 * [Active Topics](https://wordpress.org/support/plugin/hummingbird-performance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hummingbird-performance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hummingbird-performance/reviews/)

## Tags

 * [compression](https://wordpress.org/support/topic-tag/compression/)
 * [gzip](https://wordpress.org/support/topic-tag/gzip/)

 * 6 replies
 * 3 participants
 * Last reply from: [yraver](https://wordpress.org/support/users/yraver/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/error-html-gzip/#post-11917059)
 * Status: resolved