Question

How to check gzip compression enabled or not on website?

Posted August 14, 2020 209 views
CMSDevelopmentHTML

I find that gzip compression helps to load websites faster. I had a blog on blogger. I follow one tutorial on gzip compression but nothing changes seen on my blog. I measure page speed on GT matrix too. Nothing changes found. Is gzip compression a myth or what?
And how to check if gzip compression enabled on my blog or not?

edited by bobbyiliev

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hi there,

In order to check if gzip compression is enabled for your website, you can run the following command to check your headers:

  • curl -IL https://your_website.com/

Or you can use an external tool like this website for example:

https://varvy.com/tools/gzip/

If this is not the case, I could suggest following this tutorial here on how to do so:

https://www.digitalocean.com/community/tutorials/how-to-add-the-gzip-module-to-nginx-on-ubuntu-16-04

Regards,
Bobby

by Hazel Virdó
How fast a website will load depends on the size of all of the files that have to be downloaded by the browser. Reducing the size of files to be transmitted can make the website not only load faster, but also cheaper to those who have to pay for their bandwidth usage. In this guide, we'll discuss how to configure Nginx installed on your Ubuntu 16.04 server to utilize `gzip` compression to reduce the size of content sent to website visitors.
  • Thank You. I got gzip compression. But showing only 80% saving. Is it good or I can make it 100%.

    • Hi there @SameerGamer,

      The other 20% might be for external resources, for example, if you are using bootstrap from the bootstrap CDN, then the resource would not be gzipped as it is served from an external domain.

      To fix that you need to make sure that you serve all of your resources from your website directly and not external domains.

      Hope that this helps!
      Regards,
      Bobby

Submit an Answer