Javascript-why is there a latency before the network request in the chrome console?

Source: Internet
Author: User
Address: developers.google.com...: Question 1: There is a red line of requests below, that is, there is a gap between 5th requests and 6th requests, that is, there is a gap between 5 requests and 6 requests before they begin, question 2: in the project, please...

Address:

Https://developers.google.com...

:

Question 1: There is a red line of requests, that is, there is a gap between 5th requests and 6th requests, that is, there is a gap between 5 requests and 6 requests before they begin. why?

Question 2: Some of our requests in the project are synchronous and some are asynchronous. for example, 2nd and 3 requests start at the same time, which are synchronous and asynchronous in daily projects?

Thank you very much for your support.

Reply content:

Address:

Https://developers.google.com...

:

Question 1: There is a red line of requests, that is, there is a gap between 5th requests and 6th requests, that is, there is a gap between 5 requests and 6 requests before they begin. why?

Question 2: Some of our requests in the project are synchronous and some are asynchronous. for example, 2nd and 3 requests start at the same time, which are synchronous and asynchronous in daily projects?

Thank you very much for your support.

Loading Javascript by the browser will block the page
PointXHRThe requests are all asynchronous.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.