Image optimization is the process of compressing images for the web. Optimization allows websites to load faster and use less bandwidth, which is especially important when working with a limited data plan.
There are two main ways to compress an image: lossless and lossy. Lossless compression preserves all of an image's detail and quality, but it takes up more space on your website and makes it slower to load. Lossy compression reduces file size at the expense of visual fidelity and makes it faster for users to see your content.
Optimization works for many file types, including jpg, png, gif, and pdf. Image optimization runs automatically in the background to ensure your website loads as quickly as possible.