Ajax request pending when run on async

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



Ajax request pending when run on async



i have a page that make 10 - 20 ajax request to load data from background. But as i look in mozilla developer tools network status, even all request is shown, processed request still run in fifo



you can see my network status screenshot
here



fyi, this is internal request and not cross-platform request and i use laravel 5.5 for application and axios to make ajax request



is this kind of flow (request executed in fifo order) is normal in async request?
or maybe i need to set something in my web server?



Thanks





Usually browsers limit the ajax requests to the same server to 3 (or 5 maybe not sure) concurrent requests. You can get around this limit by using multiple domain aliases for your server or using http/2.
– apokryfos
Aug 8 at 9:26





as my request is result from a loop, looks like option 1 (multiple domain) maybe not applicable, and for option 2 (http/2) is this applicable in https too?
– Sandy
Aug 8 at 9:30





Browsers will only use HTTP/2 if it's over HTTPS so HTTP/2 is only applicable to HTTPS
– apokryfos
Aug 8 at 9:31









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

How to determine optimal route across keyboard