Jump to content
skaterdav85

Apache connections limit

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...