
#47 – Adam Silverstein on the State of Images in WordPress
WP Tavern
00:00
Is It a Combination of Letters, Numbers and Characters?
The first byte of an image will be like a header block that defines what the image is. Then you'll have the actual data of the image and that's in chunks. It reminds me a little bit of TCPIP packets, surrounded with metadata. The browser has to decide which resources to load first and which to prioritize. And also just think about an image tag,. Image tags now typically have a source set attribute which indicates which size image we want depending on the breakpoint they're at. So the browser has to figure out that information as well.
Transcript
Play full episode