NgOptimizedImage: Easiest Performance Win You’re Not Using
summary
NgOptimizedImage shows a concrete, low-effort win: import the ngOptimizedImage directive, switch image tags from src to ngSrc and set width/height, and the element adds fetchpriority/loading and generates responsive srcsets automatically. A live before/after uses Lighthouse: score jumps from 89 to 100 and LCP drops from about 2.0s to 0.5s. Supports placeholders, preload/preconnect, SSR and CDN loaders; demo app is built in minutes and the optimization works as shown.
AI-written summary · about
