critical-images

Installation
SKILL.md

Prioritize loading critical images

The Largest Contentful Paint (LCP) is often an image—prioritizing its load can improve LCP by 20-40%, directly impacting Core Web Vitals and SEO.

Quick Reference

  • Use fetchpriority='high' on LCP images
  • Preload hero images in document head
  • Remove loading='lazy' from above-the-fold images
  • Critical images directly impact LCP Core Web Vital

Check

Identify which images are critical for initial render and ensure they load with high priority.

Fix

Add fetchpriority='high' to critical images and use preload for hero images.

Installs
1
GitHub Stars
73.0K
First Seen
7 days ago
critical-images — thedaviddias/front-end-checklist