To compress content before it is delivered to the client you can use Apache Module mod_deflate
To compress text/html text/plain text/xml text/css and js files in the IBM HTTP Server, add the below 2 lines to httpd.conf:
and restart IBM HTTP Server.
To see what files a browser is getting as compressed, in Firefox, you can create a shortcut with this content as the link:
and it will easily print out the headers for whatever page you're on.
Otherwise, there are browser plugins for this specific purpose (livehttpheaders, web developer) and also command-line clients like wget -qS
There are samples at the top of this link to the Apache Module mod_deflate http
title image (modified) credit: (cc) Some rights reserved by buggi