Gzip Test
To check if gzip is enabled on your server, you must send a HTTP request containing the Accept-Encoding: gzip
header. If gzip is enabled, the server should return the Content-Encoding: gzip
header. To automate this process, I developed an online gzip compression test that tells you whether the server is configured correctly and displays all HTTP response headers.
It is very important to enable gzip on your server, because it may significantly compress text data, which saves internet bandwidth usage and speeds up page loading. This is especially important if you embed binary files using the data URI scheme. Therefore, you need to make sure that your server is configured correctly. Note that it should be enabled only for text data (for example, HTML, CSS, JavaScript), but should be disabled for binary files such as images, sounds, or video files.
Comments (66)
I hope you enjoy this discussion. In any case, I ask you to join it.
Thanks.
and not Content-Encoding: gzip
what is the difference?
Thank you for developing and making public this great tool for everyone to use :)