Get the latest tech news
What learning react won't teach you: Image Formats
At the end of every month, I used to religiously check the total internet bandwidth we'd consumed at home. A decade ago, my ISP would throttle our connection if we crossed some loosely defined thresho
Web browsers support a surprisingly wide range of image types, but for practical purposes, we can focus on two workhorses: JPEG and PNG. If you're displaying a landscape, a portrait, a product photo, or basically anything that looks like it belongs in the real world rather than being drawn with vector graphics, JPEG is your friend. It can throw away visual information that our eyes can't readily detect, resulting in dramatically smaller files that look nearly identical to the original.
Or read this on Hacker News