jquery - AJAX requests waiting for each other even though they are async? -
it seems ajax requests waiting each other without reason. make them async, in fact code:
$.ajax({ url: e.action, data: getfilterdata(), type: "post" }).done(function (data) { // }
when fire 3 times actions different, so: first time need 100ms
, second 5ms
, third 5ms
. in network tab see second coming after 105ms
, not 5
, , third after 110ms
not 5ms
.
so seems async calls handled in kind of queue system in mvc on server side , don't know why.
Comments
Post a Comment