Images on the web — past present and future
summary
Brief history and clear practical advice: older formats are GIF (35 years, 256-color limits), JPEG (30 years, lossy, WordPress loses progressive decoding), PNG (15 years, alpha but lossless), SVG (21 years, vector but unsafe to accept raw). Modern formats: webp (12 years, lossy+lossless, WordPress 6.1 adds support, can be ~80% smaller than PNG), AVIF (≈3 years, potentially ~50% smaller than JPEG but very slow encode/decode and needs PHP 8.1 on servers), plus JPEG XL features rarely usable. Use an image CDN, set LCP prefetch, and consider WASM conversion in-browser.
AI-written summary · about
