Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

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

 
discard

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