lqs469
lqs469

Reputation: 455

Chrome Profiler: What happens during 'resource loading' phase of network request?

What chrome actually does when the status of resource loading?In the image, The network request all duration is 2.97s, and 53.67ms is network transfer, 2.92s is the resource loading. What browser actually does when this resource loading status?

https://i.sstatic.net/XjyOk.png

Upvotes: 24

Views: 8500

Answers (2)

suguan Yang
suguan Yang

Reputation: 15

If your js thread is busy, the resource will wait until its idle, if you face a huge resouce loding time, checkout is there any long runing task in the Main section like this. Like this profiler an anonymous function occup main js thread, so the resource only avaliable after this function excuted

Upvotes: 0

SmAxlL
SmAxlL

Reputation: 91

Resource loading typically involves processing the received data. you could find what the app actually does for 'resource loading' phase by opening the 'Main' section (Frames, Interactions, Main -..), it would list function calls and the total time / self-time details.

Upvotes: 6

Related Questions