GZIP Compression

Hi there,

I am trying to enable GZIP compression through WP Humming Bird but I get the following error:

gzip is not working properly:

– Your server may not have the “deflate” module enabled (mod_deflate for Apache, ngx_http_gzip_module for NGINX)

– Another plugin may be interfering with the configuration

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

Under compression type, everything is disabled.

I contacted my server hosts and they have assured me that deflate is actually enabled. Any help would be greatly appreciated.

Disabling all other plugins and re-checking made no difference.

Thanks,

Ronan

  • Kasia Swiderska
    • Support nomad

    Hello Ronan,

    Have you tried enabling Gzip manually? Uou can find the complete set of rules that should be in .htaccess file if you navigate to HummingBird -> GZIP Compression and click on “Want to do it manually?”.

    [attachments are only viewable by logged-in members]

    Please try that and let me know if this will help

    kind regards,

    Kasia

  • Jim
    • Flash Drive

    Hi Kasia,

    I have tried that but then after hitting the “re-check” button in HummingBird -> GZIP Compression it still says disabled next to all of the compression types and Google PageSpeed Insights still says “should enable compression”.

    Clicking the enable compression button does actually write the code to the htaccess file, it just doesn’t really seem to have any effect.

    Also, when I go to Hummingbird –> Minification, it now shows an error stating:

    It seems that we are having problems in our servers. Minification will be turned off for 105 minutes

    cURL error 35: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure.

    I will check that again though after 105mins.

    Thanks,

    Ronan

  • Denitsa
    • WordPress Warrior

    Hello Jim,

    I trust you’re well!

    Which PHP version are you running? I highly recommend 5.6 and above.

    Would you contact your host provider and ask them which cURL version you’re running and also which is the OpenSSL version? While at it, can they confirm that mod_deflate and mod_expires are enabled? If they are enabled it would be best testing for plugin conflict.

    To perform such a test please follow all the steps described on a flowchart in this article (you may need to scroll the page down a little):

    https://wpmudev.com/manuals/using-wpmu-dev/getting-support/

    Lastly, can you please grant support access from the dashboard plugin so we can take a closer look?

    This could be done via Dashboard – WPMU DEV -> Support -> Support Access -> Grant Access or by following this guide here:

    https://wpmudev.com/manuals/wpmu-dev-dashboard-enabling-staff-login/

    Looking forward to hearing from you!

    Regards,

    Denitsa

  • Denitsa
    • WordPress Warrior

    Hello Alfonso Leon,

    I hope you’re doing good and thanks for reaching us!

    To help keep support tickets separate, would you please open another ticket regarding your issue (using this link https://wpmudev.com/forums/#question)? That way it will remain independent of this one and it ensures we don’t get these issues mixed-up here.

    This helps prevent any confusion (for us) as I’m sure you understand and might also help other members looking for a similar answer.

    Please try the suggestions from my first post and tell us how they worked out for you in your new thread!

    Regards,

    Denitsa

  • Jim
    • Flash Drive

    Hi Densita,

    Sorry for the delay, see below for versions:

    cURL version: 7.15.5.

    PHP version: 5.3.3.

    OpenSSL version text: OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008

    OpenSSL version number: 9469999

    They have already previously confirmed with me that mod_deflate is enabled and I have already tested for plugin conflicts, that doesn’t seem to be the issue.

    I have granted access now.

    Thanks,

    Ronan

  • Nithin Ramdas
    • Support Wizard

    Hey Jim,

    Hope you are doing good today. :slight_smile:

    Could you please try adding the following line in your websites php.ini file, you’ll have to create the file in your root directory if the file isn’t present.

    zlib.output_compression = On

    Please let us know whether the above code helps, in detecting GZip compression.

    cURL error 35: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

    I was able to notice the above issue in your system when I tried to run minification, this is related to your server running old version of cURL, that only supports SSLv3.

    SSLv3 is insecure, and thus the connection through SSLv3 is being blocked, you’ll have to get in touch with your host, and ask to update the cURL to a minimum version, or greater than v 7.39.0

    Please do let us know how that goes, have a nice day. :slight_smile:

    Kind Regards,

    Nithin