Gzip Compression not working

I am trying to resolve this problem and get Gzip working. Here is the error that I am receiving ... 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"
Please Advise

  • Huberson

    Try adding the following in your php.ini file if you have access to it.
    zlib.output_compression = On

    Or put this snippet in your .htaccess file if the above configuration doesn't fix the issue

    <ifModule mod_deflate.c>
    <FilesMatch "\.(css|js|x?html?|php)$">
    SetOutputFilter DEFLATE

    You can also check with your hosting provider if deflate module is installed and enabled on the server.