skaterdav85 Posted October 26, 2012 Share Posted October 26, 2012 Do Apache connections close once a server serves a web page for a given request? Also, if you are hosting all your static assets (JS, CSS, images, etc) on the same server as your site, how does that affect Apache connections? I was reading about the MaxClients Directive and these questions came to mind. Link to comment Share on other sites More sharing options...
justsomeguy Posted October 29, 2012 Share Posted October 29, 2012 An HTTP request theoretically closes when the response is finished, although problems between the browser and server could cause the connection to remain open (like sending an HTTP 1.1 response for an HTTP 1.0 request). Also, if you are hosting all your static assets (JS, CSS, images, etc) on the same server as your site, how does that affect Apache connections?I'm not sure what you're specifically asking, but Apache will handle any requests that come in over an open connection. Browsers will limit the number of connections to a specific host, which I think defaults to a max of 2 connections at a time. Link to comment Share on other sites More sharing options...
skaterdav85 Posted October 29, 2012 Author Share Posted October 29, 2012 Thanks! I found a really good article that explains it in a little more detail too. http://abdussamad.com/archives/169-Apache-optimization:-KeepAlive-On-or-Off.html Basically I was wondering how to fine tune Apache for large spikes of traffic. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now