衡量网站大小的工具 [英] Tools to measure website size
本文介绍了衡量网站大小的工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有人可以推荐一些可以帮助我测量网站页面大小的工具吗?我需要收集呈现的页面的大小.我们有 100 多个页面,因此显然我正在寻找一种可以诊断整个域或文件夹的工具.我不想花几天时间一次测量一页.
Can someone please recommend some tools that would help me measure the size of our website pages? I need to gather the size of the page rendered. We have over 100 pages and so obviously I am looking for a tool that could diagnose an entire domain or folder. I don't want to spend days measuring the pages one at a time.
在此先感谢您.
ac
推荐答案
Page Speed Insights 命令行工具 为您提供各种指标,包括 CSS 大小
、HTML 大小
和 图像大小
.
Page Speed Insights command-line tool gives you various metrics including CSS size
, HTML size
and Image size
.
安装:
sudo npm install -g psi
并像这样使用它:
$ psi https://robinwinslow.uk
--------------------------------------------------------
URL: robinwinslow.uk
Strategy: mobile
Speed: 84
Usability: 99
CSS size | 118.93 kB
HTML size | 61.03 kB
Image size | 5.36 kB
JavaScript size | 45.1 kB
CSS resources | 1
Hosts | 4
JS resources | 2
Resources | 6
Static resources | 4
Total size of request bytes sent | 945 B
Leverage browser caching | 1.49
Minify CSS | 0.08
Minify HTML | 0.06
Minimize render blocking resources | 16
Size tap targets appropriately | 0.11
--------------------------------------------------------
这篇关于衡量网站大小的工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文