Optimize image delivery
Deliver images in WebP/AVIF with responsive srcset, lazy loading, CDN delivery, far-future cache headers, and deduplication via perceptual hashing.
Preview
Copy prompt
Implement an image optimisation pipeline for a [Framework] web app covering: converting JPEG and PNG to WebP and AVIF, responsive images with srcset and sizes, native lazy loading with loading=lazy, CDN delivery with far-future Cache-Control headers and cache-busting filenames, and perceptual hashing to deduplicate identical images uploaded with different names.
More
Performance
Prompts
