How to check if Apache compression is working?
Solution 1:
An alternative way to quickly check the headers of the HTTP response would be to use curl.
For instance, if the Content-Encoding header is present in the response, then mod_deflate works:
$ curl -I -H 'Accept-Encoding: gzip,deflate' http://www.example.org/index.php
[...]
Content-Encoding: gzip
[...]
If you run the above command without the -H 'Accept-Encoding: gzip,deflate' part, which implies that your HTTP client does not support reading compressed content, then Content-Encoding header will not be present in the response.
Hope this helps.
Solution 2:
for simple way, you can use google chrome, open menu Tools > Developer Tools then look at this image
if you DISABLE the compression, you won't see that gzip text
hope it helps