开发者

debug http requests in chrome

开发者 https://www.devze.com 2023-02-16 16:18 出处:网络
I\'m using the developer window in google chrome, and it gives a lot of useful information. However, I have several resources (3 or 4 images) which are receiving 404 errors. These resources are unnece

I'm using the developer window in google chrome, and it gives a lot of useful information. However, I have several resources (3 or 4 images) which are receiving 404 errors. These resources are unnecessary, so I need to find out why the browser is requesting them (what css/javascript/inline html is directing the request, so that I can remove that line of code. Is there a g开发者_运维问答ood way to find out why it was requested?


Go to Tools -> Developer Tools -> Network Tab


I would recommend you use Firebug addon in Firefox. I haven't found any equivalent for Chrome extension. Firebug has "NET" tab you can see all the requests made to the server.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号