Allows you to specify on individual pages or posts the Largest Contentful Paint (LCP) Image on that page to preload, making the page load quicker.
This plugin will add the ability to preload the largest contentful paint (LCP) Image on an individual page or post. This is designed to remove the “Preload the image used by the LCP element in order to improve your LCP time” warning that Google’s Pagespeed Insights sometimes serves.
I offer support in two places:-
This project is now on github, you can view the repository here. There are other versions, but this is the one I’ve put up, so where all the developmental will be tracked.
Should you wish to use this plugin for custom post types, go to Settings > Preload LCP Image. By default it appears on posts and pages although you can set it to appear on any custom post type on this page.
For more guidance on how to determine the URL to use, please use my guide on how to determining the LCP image for a WordPress post