Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

what is the cost of enabling compression in a server's response... I am assuming higher CPU utilization but confused on how many times is a response compressed. For instance if there are 10 requests in 1 second to Apache with compression enabled... are the responses compressed each time or there is some kind of cache mechanism

and what are other disadvantages that I may not be seeing

thank u

share|improve this question
up vote 0 down vote accepted

The CPU load to compress a typical HTTP request is minimal. We enable it on all our machines, the overhead is lost in the noise. Scott Forsyth has an article on the tradeoffs of compressions levels in IIS 7 which, whilst not directly applicable to other situations, does give some ideas of how it might work in other situations.

share|improve this answer

Enable the compression unless you have a reason not to. You pay for bandwidth, do you want to pay for less?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.