Liu Guangxuan
Liu Guangxuan

Reputation: 109

In Browser's Dev tool,How can I know one file is requested by which file from the server?

for example: How can I know this file is requested by which file from the server? enter image description here

Upvotes: 0

Views: 44

Answers (2)

Kayce Basques
Kayce Basques

Reputation: 25897

You can also hold shift while hovering over a resource to view its initiator and any of its dependencies. The initiator is green, dependencies are red.

enter image description here

Upvotes: 1

Joels Elf
Joels Elf

Reputation: 784

See the x next to the Headers tab? Click it and you should be presented with a table. One of the columns is "Initiator". That's the resource that requested the resource under "Name".

Image for clarity

Upvotes: 1

Related Questions