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

link|improve this question
feedback

2 Answers

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.

link|improve this answer
feedback

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown