loading="lazy" on LCP images in core templates hurts PageSpeed scores

Status
This content is read-only, or is not open for further replies.

new_view

Guest
offline
Core templates apply loading="lazy" to LCP images, hurting PageSpeed scores

XenForo's bb_code_tag_attach, bb_code_tag_img, and attachment_macros templates apply loading="lazy" to all images indiscriminately, including the first visible image on a page, which is typically the Largest Contentful Paint (LCP) element.

This causes two PageSpeed Insights failures:
  • "lazy load not applied" (flagged as incorrect usage)
  • "fetchpriority=high should be applied."

The issue affects every...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom