WhyServices My Company
whysthatso

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.

Rails developer with a sysadmin's background, in Tallinn, Estonia · andreaswagner.io