How to Benchmarking : bandwidth improvement from using GZIP with cURL (PHP)

Flexroro

New Member
I am trying to benchmark the bandwidth saved from setting GZIP to active with cURL(PHP).I did this by \[code\]curl_setopt($ch, CURLOPT_ENCODING , 'Accept-Encoding: gzip');\[/code\]Below is the documentation for CURLOPT_ENCODING :\[quote\] The contents of the "Accept-Encoding: " header. This enables decoding of the response. Supported encodings are "identity", "deflate", and "gzip". If an empty string, "", is set, a header containing all supported encoding types is sent.\[/quote\]Now is there an easy & convenient for me to check the bandwidth used when I have GZIP ON and when I have it OFF ?
 
Back
Top