如何找出 IE7 中页面加载速度变慢的原因
页面加载所有图像,然后显示“(剩余 1 项)正在等待 http: // shanamccormick com..." 我怎样才能看到它在这里等待加载什么?为什么需要这么长时间?
index.html 文件使用位于我的网站 (jquery.min) 内的几个小型内部 JS 和一个外部 JS。外部 JS 文件的大小为 54kb。
The page loads all the images and then says "(1 item remaining) Waiting on http:// shanamccormick com..." How can i see what it is waiting to load here?? and why does it take sooo long?
The index.html file uses a couple small internal JS and one external JS located within my website (jquery.min) The size of the external JS file is 54kb.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
IE8 有一个 Javascript 分析器,就像 Firefox 的 Firebug。
但我认为您需要 Fiddler 来分析 HTTP 请求/响应的性能。
如果你想要 Javascript 开发工具(包括分析器),我建议迁移到 IE8,但如果你不能,
IE7 有可下载的开发工具< /a>,就像 IE8 的内置功能一样。
IE8 has a Javascript profiler, like Firebug for Firefox.
But I think you need Fiddler to profile the performance of the HTTP request/response.
If you want the Javascript developer tools (including profiler) I recommend moving to IE8, but if you can't,
IE7 has downloadable dev tools, like IE8's built-in capability.
我有一些可能有帮助的解决方案。我从我之前问过的另一个问题中了解到这些:
Firebug Lite 是一个 JavaScript 文件,您可以将其插入到页面中,以在浏览器中模拟某些 Firebug 功能命名为“火狐”。 Firebug Lite 创建变量“firebug”,并且不会影响或干扰不是由其自身创建的 HTML 元素。
WebWait 是一个网站计时器。使用 WebWait 对您的网站进行基准测试或测试网络连接的速度。计时是准确的,因为 WebWait 将整个网站拉入您的浏览器,因此它考虑了其他工具忽略的 Ajax/Javascript 处理和图像加载。
此外,IE JavaScript Real Performance Tester 可以测试您的脚本。
希望这些有帮助!
I have a few solutions that might help. I learned of these from another question I asked earlier:
Firebug Lite is a JavaScript file you can insert into your pages to simulate some Firebug features in browsers that are not named "Firefox". Firebug Lite creates the variable "firebug" and doesn't affect or interfere with HTML elements that aren't created by itself.
WebWait is a website timer. Use WebWait to benchmark your website or test the speed of your web connection. Timing is accurate because WebWait pulls down the entire website into your browser, so it takes into account Ajax/Javascript processing and image loading which other tools ignore.
Also, the IE JavaScript Real Performance Tester can test your scripts.
Hope these help!
该页面不再存在?或者是:shanamccormick.com?打字错误?
不管怎样,我发现谷歌搜索IE8.js(适用于IE7及以下版本)(https://code .google.com/p/ie7-js/)每个页面加载最多需要 1 分钟(在当时的计算机上)...这可能是问题所在吗?
The page doesn't exist anymore? or is it: shanamccormick.com ? misstype?
Anyway I've found that googles IE8.js (for IE7 and less) (https://code.google.com/p/ie7-js/) takes up to 1 minute to load (on a computer from that time) every page load... could that have been the problem?