• Resolved vancameron

    (@vancameron)


    Whilst Javascript and CSS are active in terms of GZIP the file type HTML is Inactive with 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).
    – Contact your host. If deflate is enabled, ask why all .htaccess or nginx.conf compression rules are not being applied.

    I have checked the hosting environment and the deflate module is enabled.

    Could you Kindly advise.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Martin

    (@surgicalexperts)

    My hoster says all is proper set.
    So what should I advise?

    hi @vancameron, @surgicalexperts,

    Have you tried clicking on the “Re-check status” button? Does the status update after that?

    Could you also post the links to your websites, so I can verify if gzip is working?

    Best regards,
    Anton

    Thread Starter vancameron

    (@vancameron)

    Hi Anton

    Yes I have pressed that button but I am afraid the same message persists.

    V

    @vancameron,

    Sorry for the inconvenience. We are checking to see if this might be a bug in code, as quite a few people have reported this issue recently. If it is a bug, it will be fixed in the upcoming updated.

    For now, please use any external tool (for example, http://checkgzipcompression.com) to verify that compression is enabled. If it is, no need to worry, your site is working perfectly fine with compression and this is just a bug in status text.

    Best regards,
    Anton

    Thread Starter vancameron

    (@vancameron)

    Hi Anton

    I can confirm that when I use that tool to test my site http://www.firebrand.co.uk is not GZIP enabled.

    @vancameron,

    Could you try to enable zlib.output_compression, by placing

    php_flag zlib.output_compression on

    in you .htaccess file.

    Best regards,
    Anton

    Thread Starter vancameron

    (@vancameron)

    Hi

    I added that line to the beginning of my htaccess file. However I received an 500 internal error on my site. I have removed it an the site is back up and running.

    V

    Only HTML compression is not enabled, right? CSS and JS are fine? Are you running a Nginx+Apache configuration? Could you please try to apply the gzip configuration for the Nginx as well.

    Thread Starter vancameron

    (@vancameron)

    Yes that is correct. I’m on an Apache setup (Apache/2.2.3 (CentOS) there is no Nginx+Apache config. I use Fasthosts as a hosting provider

    When I try to fetch the headers for your website, I get these headers:

    HTTP/1.1 200 OK
    Server: nginx
    Date: Fri, 08 Jun 2018 10:01:40 GMT
    Content-Type: text/html; charset=UTF-8
    Connection: close

    Please ask your host if there is a Nginx server or why is it in the headers.

    Thread Starter vancameron

    (@vancameron)

    Ah ok — I will check

    Thread Starter vancameron

    (@vancameron)

    If it is a NGNIX server then it will be shared environment which means the /etc/nginx/nginx.conf file cannot be edited. I have asked Fasthosts to confirm Apache or NGNIX

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hey there all 🙂

    This should be fixed with latest version 1.9.1. (you may have to “recheck status” once more), so I mark this as resolved.

    If you’re still dealing with that after plugin update, just let us know here in your next reply.

    Warm regards,
    Dimitris

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

The topic ‘Gzip not working properly’ is closed to new replies.