Keep alive is a method to allow the same tcp connection for HTTP conversation instead of opening a new one with each new request. More simply put, it is a communication between the web server and the web browser that says “you can grab more than just one file at a time”. Keep alive is also known as a persistant connection.
Improves website speed: It reduces latency associated with HTTP transfers and delivers a better user experience.
Disadvantages of Keepalive
Increases memory usage: Enabling KeepAlive increases memory usage on the server. Apache processes have to keep connections open waiting for new requests from established connections. While they are waiting they are occupying RAM that could be used to service other clients. If you turn off KeepAlive fewer apache processes will remain active. This will lower memory usage and allow Apache to serve more users.
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
I never thought that I’d draw anything in my life, but I decided today to pick up a pencil and try to draw an eye. I think it turned out pretty good considering I have never drawn a thing in my life. I hope I can make the time to draw more in the future.
I have a whole new respect for people that can draw.
Have you noticed a big black border around your videos when you embed them into your website and are viewing them on an iPhone or iPad device? So have I. This seems to be an HTML5 issue when being viewed only on mobile Safari browsers. Again, you will only notice the difference when viewed with an iPhone or iPad device. It will look normal otherwise.
<iframe title=”YouTube video player” width=”560″ height=”349″ src=”http://www.youtube.com/embed/tPZfa7bZzF4?rel=0″ frameborder=”0″ allowfullscreen></iframe>