FetchPriority Featured Image

fetchpriority-featured-image · Von Gunjan Jaswal
300+ Installationen Aktualisiert vor 2 Monaten v1.6.0 WP 5.0–7.1.4 PHP 7.4+

Auswirkungsbewertung

Footprint Score in den beiden repräsentativsten Kontexten.

3 Scans · letzter Scan vor 1 Woche

Mit einem anderen Plugin vergleichen

Homepage-Score

Auswirkung auf der öffentlichen Startseite

···
—

v1.6.0 · 3 Scans · Konsolidierte Bewertung über 90 Tage · 1 Versionen

Unzureichende Daten zur Veröffentlichung der Bewertung (15 Scans min., aktuell 3).

Was bei jedem Seitenaufruf hinzukommt

Zusätzliche Zeit
27 ms
Zusätzlicher Speicher
0.0 MB
SQL-Abfragen
+2
CSS/JS-Dateien
+0
Externe Aufrufe
0

Admin-Score

Auswirkung im WordPress-Admin

Scan wird analysiert. Die Bewertung wird veröffentlicht, sobald genügend Messungen vorliegen.

Über

FetchPriority Featured Image is a self-learning LCP (Largest Contentful Paint) optimizer. Instead of guessing which image is your hero like every other plugin, it measures the real LCP element from your actual visitors (via the browser’s PerformanceObserver), learns it per template, and then automatically applies fetchpriority="high" plus a <link rel="preload"> to that exact image — whether it’s a normal <img> or a CSS background-image. It self-corrects as your design and content change, with zero configuration.

What makes it different

  • Self-learning real LCP — no competitor in this space measures field LCP from real users and auto-targets it. Most plugins blindly prioritize the featured image and hope it’s the hero.
  • CSS background-image preload — hero sliders and background heroes are a blind spot for most performance plugins; this preloads them.
  • Visual LCP picker — click your hero element on the front end to lock it in as a manual override per template.
  • Built-in Core Web Vitals before/after report — pulls real-world LCP, INP, and CLS from the Chrome UX Report so you can prove the impact.
  • Per-template control — Auto / Learned-only / Manual-only / Off for every template the plugin sees.

Key Features

  • Self-learning LCP detection from real-user field data (PerformanceObserver beacon), aggregated per template
  • Visual click-to-pick LCP element on the front end (admin-bar → „Pick LCP element“)
  • Core Web Vitals before/after report via the Chrome UX Report (CrUX) API
  • Dashboard widget — run the Core Web Vitals report and PageSpeed audit straight from the WordPress dashboard
  • One-click PageSpeed Insights (Lighthouse) audit from the admin, showing the score, LCP, page weight, image-saving opportunities, and Google’s own detected LCP element
  • Oversized-LCP detection — warns when your hero image is larger than it displays, with a recommended width
  • Slowest-templates leaderboard built from real-user LCP timing
  • loading="eager" on the LCP image and loading="lazy" below the fold so native lazy-loading never delays the hero
  • Preloads + prioritizes the measured LCP, including CSS background-image, video poster, and <picture> heroes
  • Text-LCP web-font preload — when the largest element is a heading or paragraph, learns the web font it used (self-hosted or Google Fonts) and preloads it
  • Cross-origin CDN preconnect — opens an early connection to the exact host serving your hero image or font, with a dns-prefetch fallback
  • WooCommerce — prioritizes the main image in the single-product gallery (shop and product-category pages are covered by the archive rules)
  • Settings import/export to move one tuned configuration across sites, plus a reset-to-defaults button
  • WP-CLI commands: wp fpfi lcp list, wp fpfi lcp reset, and wp fpfi settings-export/import/reset
  • Translation-ready — ships a full .pot template for localisation into any language
  • Per-template modes: Auto, Learned-only, Manual-only, Off
  • Tabbed settings screen (Smart LCP / Targeting / Preload / Diagnostics) with a clean, flat interface
  • Automatically adds fetchpriority="high" to the hero / featured image
  • Optional fetchpriority="low" for below-fold images — paired complement that tells the browser to defer non-critical loads
  • <link rel="preload" as="image"> for the hero featured image on singular pages — strongest LCP signal
  • AVIF / WebP detection — when a sibling .avif / .webp file exists on disk, an extra <link rel="preload" type="image/avif|image/webp"> is emitted so the browser picks the supported modern format automatically (works with ShortPixel, Imagify, Optimole, and similar)
  • Theme presets — auto-detects Astra, GeneratePress, Kadence, Divi, and Hello Elementor and excludes their site-logo / header-image classes so the priority budget is spent on the real hero
  • Avatar / Gravatar exclusion — never tags images with class avatar / gravatar or hosted on gravatar.com
  • Settings page (Settings → FetchPriority) for per-context toggles, first-N control, preload, and exclusions
  • Admin-bar debug badge showing how many images were tagged on the current page (total + how many got high)
  • Compatible with most WordPress themes including Divi, Elementor, Astra, GeneratePress, Kadence, and any theme using standard the_post_thumbnail() / wp_get_attachment_image()

Why Use FetchPriority?

The fetchpriority attribute is a modern web standard that tells browsers which images should be prioritized during page load. By marking featured images as high priority, you can improve:

  • Largest Contentful Paint (LCP) scores
  • User experience with faster loading of important images
  • Overall page performance

Developer-Friendly

The plugin uses WordPress’s native filters and doesn’t modify your database or image files.

Beschreibung veröffentlicht von Gunjan Jaswal auf WordPress.org, lizenziert unter GPLv2 or later.

Tags
core web vitals fetchpriority image optimization lcp performance

Screenshots

Screenshots veröffentlicht von Gunjan Jaswal auf WordPress.org, lizenziert unter GPLv2 or later.

Smart LCP tab — self-learning toggle, sample rate, and the per-template targets table.
Smart LCP tab — self-learning toggle, sample rate, and the per-template targets table.

Historie nach Version

Versionsdetails anzeigen (1 Version)

Wie sich das Plugin von Version zu Version entwickelt.

Version Homepage Admin Letzter Scan
v1.6.0 3 Scans — vor 1 Woche

Alternativen in derselben Kategorie

Weitere Plugins der Kategorie cache, von der Community gemessen, vom leichtesten zum schwersten sortiert.

Scan-Verlauf

Einzelnes Scan-Protokoll anzeigen (3 Scans)

Datum Version Kontext Score Bewertung Zeit Speicher
vor 1 Woche v1.6.0 Homepage 100/100 A 27 ms 0.0 MB
vor 1 Woche v1.6.0 Homepage 100/100 A 28 ms 0.0 MB
vor 1 Woche v1.6.0 Homepage 100/100 A 0 ms 2.0 MB