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
--------------------------------------------------------
精彩评论