• Авторизация


Setting Height And Width On Images Is Important Again 09-03-2020 14:30 к комментариям - к полной версии - понравилось!


Web performance advocates have often advised to add dimensions to your images for best performance to allow the page to be laid out with the appropriate space for the image, before the image itself has been downloaded. This avoids a layout shift as the image is downloaded — something Chrome has recently started measuring in the new Cumulative Layout Shift metric. Well, a dirty, little, secret — not that well-known outside the hard-core web performance advocates — is that, until recently, this actually didn’t make a difference in a lot of cases, as we’ll see below.

https://www.smashingmagazine.com/2020/03/setting-height-width-images-important-again/

вверх^ к полной версии понравилось! в evernote


Вы сейчас не можете прокомментировать это сообщение.

Дневник Setting Height And Width On Images Is Important Again | rss_smashmagazine - Articles on Smashing Magazine — For Web Designers And Developers | Лента друзей rss_smashmagazine / Полная версия Добавить в друзья Страницы: раньше»