Check Gzip Status Of Nginx With Curl
Posted on February 7, 2025
curl http://example.com/ --silent --write-out "%{size_download}\n" --output /dev/null
31032
curl http://example.com/ --silent -H "Accept-Encoding: gzip,deflate" --write-out "%{size_download}\n" --output /dev/null
2553
Hey! I'll happily receive your comments
via email.
Thanks for reading.

Andreas Wagner
freelance System Administrator and Ruby programmer in Tallinn, Estonia