Wednesday, 4 May 2016

When to enable or disable KeepAlive ?


Use KeepAlive = OFF
  • If you have little RAM and KeepAlive = ON, Apache waits for multiple requests


Use KeepAlive = ON
  • If you have little CPU power, as it reduces CPU load
  • If you have pages with lots of images and other files (CSS, JS etc.) as it uses single TCP connection to transfer multiple files
  • If your website have traffic throughout the day


To set KeepAlive , set config in conf / httpd.conf :
KeepAlive On
OR
KeepAlive Off

No comments:

Post a Comment

Note: only a member of this blog may post a comment.