This tool checks your server to see if you have Gzip compression enabled. Enabling Gzip compression can help you to achieve up to 50 – 75% less bandwidth than servers without Gzip. This tool supports Gzip compression from mod_deflate, mod_gzip or gzip compression through PHP and other server side programming languages.
Gzip Test: Is gzip enabled on my site?
Test Gzip FAQ
What is Gzip Compression?
Gzip is a software app used for file compression/decompression, it can be applied to almost any file and the result will be a big size reduction depending on the type of file you are compressing. Since many many years it has been an industry must while we are trying to serve files over the network, this helps to reduce bandwith and disk space usage.
How to enable Gzip on your website?
If you are using apache web server, just place this code inside a .htaccess in the root directory of your website, an it should do the magic:
AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE text/javascript AddOutputFilterByType DEFLATE text/x-js AddOutputFilterByType DEFLATE text/css # Highest 9 - Lowest 1 DeflateCompressionLevel 9 # Skip browsers with known problems BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
If you are using Nginx web server, add this code to the nginx.conf configuration file inside the httpd {} block:
# enable gzip compression gzip on; gzip_min_length 1100; gzip_buffers 4 32k; gzip_types text/plain application/x-javascript text/xml text/css; gzip_vary on; # end gzip configuration
Is this Gzip Checker free?
Yes, and it will always be.
Further reading:
- How to setup Gzip on Nginx
- How to setup Gzip on Apache
- Gzip vs ZIP
- Gzip command, gzip example