WebP, explained
Smaller images load faster, and images are often the heaviest part of a page. Switching format is one of the simpler speed gains on an older site.
It handles both lossy compression, like JPEG, and lossless compression, like PNG. Transparent WebP files can often replace large PNGs.
All current major browsers support it, so most sites can use it without a fallback today. Keep your original files, since saving a compressed image again lowers quality.
The format is only part of it. Serve an image at the size it is shown, using srcset, and set width and height so the page does not jump while it loads.



