0

Google Chrome has a tab in it's built in Developer Tools, and one of the audits are telling me that the Network Utilization can be improved by setting the specific width and height to ALL images on the page.

Chrome Audits

How true is this information and how does this change things?

Phiter
  • 14,570
  • 14
  • 50
  • 84

3 Answers3

2

Setting height and width will do absolutely nothing for network utilisation.

It will, however, allow the browser to lay the page out correctly before downloading the images (since it won't have to wait to download the image before it can know what size the image is). This can avoid reflowing the page or leaving it blank until the image size is known.

Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335
1

It's so the browser can already prepare the correct space to put the image after loading it.

Adrien Horgnies
  • 691
  • 4
  • 11
0

While not improving network speed so much, it can lead to better user experience for users with low internet speed because of the reasons Quentin suggested.

Nijraj Gelani
  • 1,446
  • 18
  • 29