WP-Optimize
95Get caching and more with this powerful cache plugin. Cache, optimize images, clean your database and minify f...
Prioritizes the loading of images and videos based on how they appear to actual visitors: adds fetchpriority, preloads, lazy-loads, and sets sizes.
Image Prioritizer is a WordPress plugin designed to enhance the loading performance of images and videos on your site. It focuses on optimising the Largest Contentful Paint (LCP) by implementing prioritisation for loading elements, lazy loading, and accurate image size selection. The plugin operates without any configuration, relying on visitor data to apply optimisations over time.
This plugin is suitable for website owners who want to improve their site's performance, particularly in terms of loading times for images and videos. It requires the Optimization Detective plugin to function and is intended for use on sites with accessible REST API for unauthenticated visitors.
Best for: Website owners looking to enhance loading performance for images and videos.
What it does well
Where it falls short
Image Prioritizer offers a straightforward approach to improving site performance without requiring user input. It is a useful tool for those focused on optimising image and video loading times.
WordPress Performance Team's own description of Image Prioritizer, lightly tidied.
This plugin optimizes the loading of images (and videos) with prioritization to improve Largest Contentful Paint (LCP), lazy loading, and more accurate image size selection.
The current optimizations include:
fetchpriority=high preload links (both as LINK[rel=preload] elements and Link response headers) for image URLs of LCP elements:
IMG element, including the srcset/sizes attributes supplied as imagesrcset/imagesizes on the LINK.SOURCE element with a type attribute in a PICTURE element. (Art-directed PICTURE elements using media queries are not supported.)background-image inline style attribute.background-image applied with a stylesheet (when the image is from an allowed origin).VIDEO element’s poster image.IMG tags based on whether they appear in any breakpoint’s initial viewport.style attributes.VIDEO tags by setting the appropriate attributes based on whether they appear in the initial viewport. If a VIDEO is the LCP element, it gets preload=auto; if it is in an initial viewport, the preload=metadata default is left; if it is not in an initial viewport, it gets preload=none. Lazy-loaded videos also get initial preload, autoplay, and poster attributes restored when the VIDEO is going to enter the viewport.sizes=auto is set on IMG tags after setting correct lazy-loading (above).sizes attribute using the widths of an image collected from URL Metrics for each breakpoint (when not lazy-loaded since then handled by sizes=auto).~~ (This has been removed due to an issue; use Enhanced Responsive Images instead.)This plugin requires the Optimization Detective plugin as a dependency. Please refer to that plugin for additional background on how this plugin works as well as additional developer options.
👉 Note: This plugin optimizes pages for actual visitors, and it depends on visitors to optimize pages. As such, you won’t see optimizations applied immediately after activating the plugin. Please wait for URL Metrics to be gathered for both mobile and desktop visits. And since administrator users are not normal visitors typically, optimizations are not applied for admins by default.
Your site must have the REST API accessible to unauthenticated frontend visitors since this is how metrics are collected about how a page should be optimized. There are currently no settings and no user interface for this plugin since it is designed to work without any configuration.
Other plugins for making sites fast.
Get caching and more with this powerful cache plugin. Cache, optimize images, clean your database and minify f...
All-in-one unbeatable acceleration & PageSpeed improvement: caching, image/CSS/JS optimization...
Comprehensive image optimization with WebP, AVIF, Lazy Load, and more. Optimize images automatically for Faste...
Easy to use Under Construction Page & Coming Soon Page. Enable Under Construction Mode in seconds & sh...
Compress and optimize images, enable lazy load, serve WebP & AVIF, and speed up your site with a global im...
Speed up your website by using our WebP & AVIF Converter. Optimize images and serve WebP and AVIF images i...