开发者

Tools to measure website size

开发者 https://www.devze.com 2022-12-31 11:07 出处:网络
Can someon开发者_如何转开发e 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 obvious

Can someon开发者_如何转开发e 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.

Thank you so much in advance.

ac


Page Speed Insights command-line tool gives you various metrics including CSS size, HTML size and Image size.

Install it with:

sudo npm install -g psi

And use it like so:

$ 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

--------------------------------------------------------
0

精彩评论

暂无评论...
验证码 换一张
取 消