Hi guys,
I am trying to benchmark the bandwidth saved from setting GZIP to active with cURL(PHP).
I did this by curl_setopt($ch, CURLOPT_ENCODING , 'Accept-Encoding: gzip');
Below is the documentation for CURLOPT_ENCODING :
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.
Now is there an easy & convenient for me to check the bandwidth used when I have GZIP ON and when I have it OFF ?