Another red warning light when running google page speed or yslow that is quite easy to sort out if you are running your own server. First you need to know how to login through SSH as root user which you can do by reading this post. And you need an editor installed to be able to edit the right file to enable the apache keepalive feature, which you can read about in this post. (all links open in a new window so don't be afraid!). So here we go.... The file we need to edit is: /etc/httpd/conf/httpd.conf Which you do with the command:
nano /etc/httpd/conf/httpd.confScroll down through the file using Ctrl + v until you get to the lines which look like this: (Quite near the top)
# # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. # KeepAlive OffThen just change the 'Off' to 'On' and save the file with Ctrl +X The Ctrl + X is actually for 'Exit' but you will be asked if you want to save the edited file, so click 'Y' and then it will ask you where you want to save the file and will give you the original file location so just say yes again. For the changes to take place you will have to restart the apache service with the command:
/etc/init.d/httpd restartAnd that is about it. One of my sites just jumped 14 points in pagespeed from 79 to 93, I guess it can make a big difference!