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:
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:
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
Post a Comment