大网数据广告活动
网站运营与故障问答

How to find which script is causing my website to keep loading

· 52CE 我爱测

When loading my website in Google Chrome, I sometimes have the issue that the website just keeps loading. I think it has something to do with a request to Google Ads, but I'm not sture. I thought I could just find the slow script…

问题原文

原帖链接 · ThibaultG4U · CC BY-SA 4.0

When loading my website in Google Chrome, I sometimes have the issue that the website just keeps loading. I think it has something to do with a request to Google Ads, but I'm not sture.

I thought I could just find the slow script in the 'Network' tab of the Chrome Dev Tools, but the script doesn't appear there (possibly because it never finishes loading?). How can I check which request is causing the eternal load?

社区高分解答

原帖链接 · idk · CC BY-SA 4.0

Use the below links to find out which scripts/resources are taking longer time to load:

Notes: These are performance tests for your webpage.

https://developers.google.com/speed/pagespeed/insights/

Under Google Page Speed Insights, if you take the request URL and run it, you would be able to identify which resources are taking longer time to load. Attached Screenshot is a reference to identify: (This uses lighthouse to do the testing, you can also request an API key to perform the same task on the total website)

https://gtmetrix.com/

This provides insights on what resources are making your webpage take time to load. Attached Screenshot gives an example of my website:

** If you could share your URL or run the above tests, you can easily know which resources are taking time to load, do the fixes accordingly to solve your problem.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2019-02-08)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。