How to check if the server is sending content using GZIP compression?

Asked

Viewed 125 times

0

Is there any browser feature to check if the server is sending content (HTML, JS, JSON, CSS, etc.) using gzip compression?

1 answer

2


You can use the google extension called pagespeed: https://developers.google.com/speed/pagespeed/

But in a quick way... If you use Google Chrome press F12 and you will be taken to Developertools (a small window under your browser). There you will go to the Network tab and there you will see all the requests made for your website, look for the key Accept-Encoding: gzip, deflate.

If this exists your site uses GZIP :D

Update:

In Response Headers there is the Content-Encoding:gzip key there should be gzip.

  • My question is precisely why Accept-Encoding: gzip, deflate at all times appears in the tab network, even when you’re not using.

  • Okay come on.... In Response Headers there is the key Content-Encoding:gzip ? I forgot to specify that part.

  • Now I found, it is in the same Response. It was worth the force. I recommend that you update the answer with the information.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.