Chrome is shipping <img sizes="auto"> support 🥳 For lazy-loaded images with srcset, this allows the browser to use the layout width of the image in order to select the source url from the srcset.
https://t.co/UWbS2SdMks
For lazy-loaded images, CSS is often available before the image load begins. The browser can take the actual width of the image from CSS and use that as if it was the image's sizes.
Tip: @ChromeDevTools supports Network request blocking. Block URLs & domains to measure their impact on your site.
DevTools > top-right menu > More tools > Request blocking
Serve assets based on the quality of the user's network connection.
navigator.connection.effectiveType is supported in Chrome, Opera and Firefox on Android.
{ author: @addyosmani }
https://t.co/qDQtX5CsbN