mod_gzip is an Apache web server module that compresses the HTML as it sends it out. It is compatible with all browsers (old browsers that don't support gzip content will get uncompressed HTML). Using gzip can save you HUGE amounts of bandwidth, and increase the overall performance of your webserver. It also makes a world of difference for people viewing your site on a dial-up modem.
This page tests for gzip content, so you can use it with any system that compresses its html, not just mod_gzip.
Check this
out for an easy way to use PHP to compress your pages