Problem: When executing around 10 jQuery $.ajax requests at once, I can see all the requests in firebug in the (pending) state, however, it looks like the browser is only handling one request at a time. This causes the rest of the requests to timeout like it was one big request. Is there a way to resolve this, so that all of the async requests sent out at one time are handled in parallel? Thanks!
$.ajax({
type: "GET",
url: testScriptPHP,
async: true,
cache: false,
timeout: 30000,
...
Found the issue!
Turns out the lighttpd.conf had max workers commented out which was causing lighttpd to run with 1 worker!
I upped max workers to 30 and it’s flying now!