Jump to content

Recommended Posts

Posted

Hi everyone,

I am currently optimizing an Invision Community v5 site for Core Web Vitals. According to PageSpeed Insights, my Largest Contentful Paint (LCP) element is being delayed significantly (over 4000ms) because it has the loading="lazy" attribute applied.

Since this image is the first thing users see in the widget, I need to remove loading="lazy" and ideally add fetchpriority="high" to it.

The HTML structure looks like this

Searching for topicFeedRow and postFeed templates in the Theme Editor, but the changes don't seem to reflect on the front-end (likely due to aggressive caching or the widget using a different template).

 

<li data-ips-hook="row" class="ipsData__item topic_8320 tthumb_topicRow"> <figure class="ipsData__image tthumb__image"> <a href="..."> <img src="path/to/image.jpg" loading="lazy"> </a> </figure> ... </li>


Only this widget or the first image should be eager instead of lazy.

  • Manager
Posted

Hello,

I think it's a global lazy loading feature applied there. Settings from 4.x:

image.png

 

And from 5.x:

image.png

 

They removed that setting (or moved - not sure).

 

Doubt you can do much here.

 

intermedia - profesjonalne rozwiązania Invision Power Board

---

Chcesz uzyskać szybko i sprawnie pomoc? Uzupełnij wersję i adres w profilu.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.