PDA

View Full Version : mod_deflate and Apache Tuning



mknutson
December 2nd, 2010, 06:06 AM
I was tuning Apache Webserver last last night. Trying to get Apache to be more efficient.

I also started implementing mod_deflate which will allow GZIP content to and from the server. Most browsers support this, and can compress the pages by up to 90%.

Currently I am getting about 60% to 80% compression, and hope to be able to increase this, which will speed up all page loads. Slow connections will especially notice this change.

mknutson
December 2nd, 2010, 06:32 AM
Compression stats:
11321131

11321131

hamsandwich
December 2nd, 2010, 01:08 PM
Awesome!

Don't overdo the compression. There's a point at which you tax the webserver and the end users pc's too much for minimal additional gain. When big traffic flows the webserver won't be able to keep up with the processing power doing the compressions. There's a balance.

-a

mknutson
December 2nd, 2010, 01:19 PM
We are getting 80% compression with only about 5% to 10% cpu increase, and that is just the default settings. No images or videos are compressed. So pretty GREAT for a start.

mknutson
December 4th, 2010, 04:10 PM
Sub 3 second page load AVERAGE!!!!! This thing is smoking!

1134

speedphreak
December 5th, 2010, 12:50 PM
I can definitely tell the difference.

Good job.