Google Chrome或Mozilla Firefox中的页面加载时间 [英] Page load time in Google Chrome or Mozilla Firefox

查看:380
本文介绍了Google Chrome或Mozilla Firefox中的页面加载时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



编辑:

有没有办法检查页面加载需要多长时间?我会延长这个问题。假设您正在开发一个ASP.NET项目,并且在Visual Studio中运行项目时,您需要等待一段时间才能看到在屏幕上呈现并准备使用的起始页。



如果此网站已启用,加载时间应与从Visual Studio启动项目时的加载时间不同。

我想看到的是,如果网站位于服务器上,实际加载时间将会是多少。

编辑2:回答

Chrome - >右键点击 - >检查元素 - >网络选项卡。当你加载一个页面时,页面的时间轴上有一个很好的报告,显示实际的页面加载时间,css,js等加载时间。在Mozilla下的Net标签中有一个类似的工具。

解决方案

至于Firefox,op已经回答了他自己的问题(Menu - Web开发人员 - 网络或Ctrl + Shift + K - 网络或Ctrl + Shift + Q),但我想提及app.telemetry Page Speed Monitor插件,它不需要先打开Web控制台。它只会显示状态栏中的加载时间(以毫秒为单位)(它甚至会在您点击时显示详细信息)。

https://addons.mozilla.org/en-US/firefox/addon/apptelemetry/

唯一的缺点似乎是Facebook / Twitter按钮。



至于Chrome / Chromium,我第二个Andy Davies的建议是页面加载时间插件非常棒,它显示了位置栏旁边的加载时间,并且还提供了详细信息。


Is there a way to check how long does it take for the page to load?

EDIT:

I will extend the question a bit. Say you are working on a ASP.NET project and when you run your project within the Visual Studio there is some loading time before you can see your starting page rendered on the screen and ready to use.

If this website was live the load time should be different from the load time when starting your project from Visual Studio.

What I would like to see is what would be the actual load time if the web site was on a server.

EDIT 2: Answer

Chrome -> Right Click -> Inspect Element -> Network Tab. When you load a page there is a nice report for the timeline of the page showing the actual page load time, css, js etc. load times. There is a similar tool in Mozilla under Net tab.

解决方案

As for Firefox, the op has already answered his own question (Menu - Web Developer - Network or Ctrl + Shift + K - Network or Ctrl + Shift + Q), but I'd like to mention the "app.telemetry Page Speed Monitor" addon, which does not require you to open the web console first. It'll just show the load time in ms in the status bar (it'll even show details when you click it).
https://addons.mozilla.org/en-US/firefox/addon/apptelemetry/
The only downside seems to be the Facebook/Twitter button.

As for Chrome/Chromium, I second Andy Davies' suggestion, the Page load time plugin is awesome, it shows the load time next to the location bar and it also provides details.

这篇关于Google Chrome或Mozilla Firefox中的页面加载时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆