Created
April 8, 2015 09:16
-
-
Save jmbataller/8e4138c473abc9c7441b to your computer and use it in GitHub Desktop.
How to test GZIP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Request NO GZIP: | |
curl http://localhost:8080/customers/1111 --silent --write-out "%{size_download}\n" --output /dev/null | |
Request GZIP: | |
curl http://localhost:8080/customers/1111 --silent -H "Accept-Encoding: gzip,deflate" --write-out "%{size_download}\n" --output /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment