If your site feels slow, images are usually the biggest lever. WebP can cut size a lot while staying sharp.
Check:
text edges
faces
gradients (banding)
WebP is a modern image format developed by Google that provides superior compression compared to JPEG and PNG. It supports both lossy and lossless compression, as well as transparency and animation.
Modern browsers (Chrome, Firefox, Edge, Safari 14+) support WebP. For older browsers, provide fallbacks using the <picture> element or serve JPEG/PNG as alternatives.
Typically 25-35% smaller than JPEG for photos, and 26% smaller than PNG for graphics. Actual savings depend on image content and quality settings.
Yes, but provide fallbacks for older browsers. Use WebP as the primary format with JPEG/PNG as fallbacks using the <picture> element or content negotiation.
For lossy WebP: Start with quality 80-85 for photos. For lossless WebP: Use for UI elements where quality is critical. Test different settings to find the best balance for your images.