A quick solution: use Firebug's Net tab while reloading with Shift+Reload. Firebug can be downloaded here and installs as an extension to Firefox. You can open it using the bug icon in the bottom-right corner. Choose the Net tab, then click on its arrow and choose 'Enabled'. Navigate to the page you want to measure (you might have to reopen Firebug), then hold the Shift key while clicking the Reload button. The Net tab shows the weight of all the files being downloaded and the cumulative weight as the last line in the log.
GetLeft is able to grab a complete site structure onto hard disk. You'll have to do some fine-tuning to get the exact result but it should work.
If you're doing things like adding scripts dynamically using JavaScript, you'll probably be out of luck - stuff like this is almost impossible to count. I think your best bet in such a case would be the "Document size" page in Firefox's Web Developer Toolbar.
警告:请注意,Firefox 上的“页面信息”仅提供 html 的大小,而不包括页面中包含的图像和其他媒体的大小。 一旦您询问了页面信息面板,就可以通过进入媒体菜单来验证这一点。
Warning: note that "Page info" on Firefox does only give you the size of the html, and does not include the size of the images and other medias contained in the page. This can be verified by going into the Media menu once you've asked the Page information panel.
发布评论
评论(5)
YSlow 将为您提供所有下载元素的大小,包括 Flash 对象!对于测量,您应该能够使用它!
YSlow will give you the size of all downloaded elements, including flash objects! For measurements you should be able to use it!
快速解决方案:使用 Firebug 的 Net 选项卡,同时使用 Shift+Reload 重新加载。 Firebug 可以在此处下载并作为 Firefox 的扩展安装。您可以使用右下角的错误图标打开它。选择“网络”选项卡,然后单击其箭头并选择“启用”。导航到您要测量的页面(您可能必须重新打开 Firebug),然后按住 Shift 键并单击“重新加载”按钮。 “网络”选项卡显示正在下载的所有文件的权重以及累积权重作为日志中的最后一行。
A quick solution: use Firebug's Net tab while reloading with Shift+Reload. Firebug can be downloaded here and installs as an extension to Firefox. You can open it using the bug icon in the bottom-right corner. Choose the Net tab, then click on its arrow and choose 'Enabled'. Navigate to the page you want to measure (you might have to reopen Firebug), then hold the Shift key while clicking the Reload button. The Net tab shows the weight of all the files being downloaded and the cumulative weight as the last line in the log.
GetLeft 能够将完整的站点结构抓取到硬盘上。您必须进行一些微调才能获得准确的结果,但它应该有效。
如果您正在做诸如使用 JavaScript 动态添加脚本之类的事情,您可能会运气不佳 - 像这样的事情几乎无法计数。我认为在这种情况下你最好的选择是 Firefox 网络开发者工具栏。
GetLeft is able to grab a complete site structure onto hard disk. You'll have to do some fine-tuning to get the exact result but it should work.
If you're doing things like adding scripts dynamically using JavaScript, you'll probably be out of luck - stuff like this is almost impossible to count. I think your best bet in such a case would be the "Document size" page in Firefox's Web Developer Toolbar.
警告:请注意,Firefox 上的“页面信息”仅提供 html 的大小,而不包括页面中包含的图像和其他媒体的大小。
一旦您询问了页面信息面板,就可以通过进入媒体菜单来验证这一点。
Warning: note that "Page info" on Firefox does only give you the size of the html, and does not include the size of the images and other medias contained in the page.
This can be verified by going into the Media menu once you've asked the Page information panel.
使用 Firefox,单击“工具”下拉菜单,然后选择“页面信息”选项。
将显示当前页面的信息。这包括页面大小(以 KB(和字节)为单位)。
With Firefox, click on the "Tools" pull-down and then select the "Page Info" option.
The information of the current page will be displayed. This includes the page size in KB (and bytes).