0

PageSpeed Insights doesn't request files with gzip encodings, which leads to a wrong estimation of files sizes(makes them much bigger then they actually are).

I looked through bunch of similar questions and checked various answers, but nothing helped.

Then I estimated in PSI some of Google applications - google.com itself, youtube and others - and it seems like PSI doesn't recognize gzip on these sites either!

Check this out: https://pagespeed.web.dev/analysis/https-www-youtube-com/1uxys155m3?use_original_url=true&form_factor=mobile

Find a little button "open performance card", it will show a visualization with files that are loaded from an application(youtube.com in this case).

Sizes on the map:

enter image description here

Actual sizes of biggest files in chrome devtools:

enter image description here

You can check it on any site.

So, if I'm correct it's a bug of PSI. Does anybody know a proper way to contact PSI team in this case?

1 Answer 1

1

The Treemap shows Resource Size, not Network size.

Network size is important as it correlates to download times.

But the uncompressed Resource size is also important since that impacts memory and processing time after it's downloaded.

For coverage checker in particular, this cannot really be done on a compressed file.

If you select "Big request rows" in Network Panel settings you'll see both the compressed and uncompressed sizes in that.

And there's a separate audit which raises if gzip/br is not used, but in that example it passed - because Lighthouse does know about compression and does use it where possible:

Lighthouse audit screenshot

Sign up to request clarification or add additional context in comments.

1 Comment

Could do with being documented to be honest! Have asked for that’s to be done.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.