| 12 | | On the other hand, I tried the same tests with the [https://wordpress.org/plugins/image-prioritizer/ Image Prioritizer] plugin active and it correctly added `fetchpriority=high` to the LCP image, as well as ensuring `loading=lazy` is only on the appropriate images. The Image Prioritizer plugin is part of the Performance Lab plugin suite of plugins (from the Core Performance Team), as is [https://wordpress.org/plugins/optimization-detective/ Optimization Detective] which is the foundational dependency plugin. It applies optimizations based collecting real user metrics, so the server doesn't have to figure out which image is likely going to be in the initial viewport or not. It applies these optimizations on the output-buffered output via the HTML Tag Processor, meaning the optimizations can be applied to any kind of WordPress site, whether using Timber themes, classic themes, or block themes. |
| | 12 | On the other hand, I tried the same tests with the [https://wordpress.org/plugins/image-prioritizer/ Image Prioritizer] plugin active and it correctly added `fetchpriority=high` to the LCP image, as well as ensuring `loading=lazy` is only on the appropriate images. The Image Prioritizer plugin is part of the [https://github.com/WordPress/performance Performance Lab] plugin suite of plugins (from the Core Performance Team), as is [https://wordpress.org/plugins/optimization-detective/ Optimization Detective] which is the foundational dependency plugin. It applies optimizations based collecting real user metrics, so the server doesn't have to figure out which image is likely going to be in the initial viewport or not. It applies these optimizations on the output-buffered output via the HTML Tag Processor, meaning the optimizations can be applied to any kind of WordPress site, whether using Timber themes, classic themes, or block themes. |