“1.1.1.1 with WARP prevents anyone from snooping on you by encrypting more of the traffic leaving your device. We believe privacy is a right. We won't sell your data, ever.”
@Cloudflare's VPN now on #Windows and #macOS too! buff.ly/3h7SZMQ
The <img> element now supports lazy-loading, async decoding and many other features: bit.ly/img-cwv I wrote about how to optimize UX & the Core Web Vitals with it.
ALT In the below code-snippet, aspect ratio is maintained, a modern image format is served at the right size, dimensions are set to reduce CLS and the image is lazy-loaded and async decoded.
<style>
img { max-width: 100%; height: auto; }
</style>
<picture>
<source sizes="(max-width: 600px) 100vw, 600px"
srcset="donuts-1920w.avif 1920w,
donuts-1280w.avif 1280w,
donuts-640w.avif 640w" type="image/avif">
<source sizes="(max-width: 600px) 100vw, 600px"
srcset="donuts-1920w.webp 1920w,
donuts-1280w.webp 1280w,
donuts-640w.webp 640w" type="image/webp">
<source sizes="(max-width: 600px) 100vw, 600px"
srcset="donuts-1920w.jpg 1920w,
donuts-1280w.jpg 1280w,
donuts-640w.jpg 640w" type="image/jpeg">
<img loading="lazy"
decoding="async"
height="1100"
width="2000"
src="donuts.png" >
</picture>
One of the key insights of the tech industry and Internet-based commerce is that in addition to a response to price the demand curve responds, much more strongly than almost anyone would believe, to transactional friction.