performance - Why there is a gap between http requests in google chrome network? -


in application when load page, many resources loading cache. between 2 requests getting delay shown in below image: enter image description here

can please tell me why getting delay (~300ms) between these 2 requests.

the gap time spent queuing or being stalled. can demonstrated in example below, shows 4 requests, last 2 being of main focus us:

requests

3rd request: 3rd request

4th request: 4th request

as can see above, there queuing time in 4th request more stalling. here's explanation this, written paul irish:

queuing:

if request queued indicated that:

  • the request postponed rendering engine because it's considered lower priority critical resources (such scripts/styles). happens images.

  • the request put on hold wait unavailable tcp socket that's free up.

  • the request put on hold because browser allows 6 tcp connections per origin on http 1.

  • time spent making disk cache entries (typically quick.)

stalling/blocking:

time request spent waiting before sent. can waiting of reasons described queueing. additionally, time inclusive of time spent in proxy negotiation.

source: understanding resource timing


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -