[Hummingbird] HTML gzip compression not working on nginx server

In Hummingbird -> Gzip Compression I see this message.

Gzip is not working properly:

- Your server may not have the "deflate" module enabled (mod_deflate for Apache, ngx_http_gzip_module for NGINX).
- Contact your host. If deflate is enabled, ask why all .htaccess or nginx.conf compression rules are not being applied.

If re-checking and restarting does not resolve, please check with your host or open a support ticket with us.

I contact with host and they say:

- Gzip compression works fine on all our servers.
- Two php modules/extensions are turned on by default on our shared servers, which is going to allow both gzip compression and deflate header requests from the browser when the content is requested.

Host also try rules for .htaccess file.
Issue still exist.

The shared servers use nginx and apache.

  • Predrag Dubajic
    • Support

    Hi Ruby,

    Hope you're doing well.

    When one or more compressions are showing as active it usually means that server settings have their own predefined values for GZIP which can't be overwritten via .htaccess rules, but it seems that your host is sure this is not the case so I have forwarded this to our developers so they can investigate it further and check what's going on.

    Best regards,

  • Predrag Dubajic
    • Support

    Hi Ruby,

    Could you try adding below rules to your .htaccess file and see if HTML status is showing properly after that:

    <IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/plain
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE text/xml
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE application/xml
    AddOutputFilterByType DEFLATE application/xhtml+xml
    AddOutputFilterByType DEFLATE application/rss+xml
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE application/x-javascript
    AddOutputFilter DEFLATE .shtml

    Let us know how it goes.

    Best regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.