How can i (gzip) http responses (using Apache)?

Apache allows you to gzip responses provided the calling application (IE, or any other) is capable of handling zipped responses. The calling application sends information about its capability to handle zipped responses in accept-encoding http request header.

Following configuration is necessary in Apache for this.:

Create a deflate.conf file with following contents in <Apache_Home>/conf/extra