I have a web application that makes up a ton of requests $.post(). The server should receive them in the order in which they were created. To guarantee this, I first thought that I would make my own queue, which was canceled and fired the next Ajax call after the previous one ended.
Then I saw a parameter there async:falsethat you can use with $.ajax().
I changed all my usage requests $.ajax({ async: false, ... }), but when I track them in Firebug, the requests are not sent one by one, each subsequent request is launched after the last one received a response.
What does it mean async? How can I connect my Ajax so that it runs at a time, and the next one at the end of the last (received answer)?
source
share