Site logo

Archived topic

Featured image is the last loaded image

5 replies · Started by Bernhard on June 13, 2022

Viewing posts 1–6 of 6

Hello,
I use different hero blocks for desktop and mobile filtering with wp_is_mobile https://generatepress.com/forums/topic/page-hero-background-image-resolution/#post-1929404

Pagespeed insight indicates for https://www.tourist-in-rom.com/de/ as LCP

Willkommen in Rom 
<div class="gb-container gb-container-ca151b12">

`
and in the container is the medium size image (for mobile) https://www.tourist-in-rom.com/wp-content/uploads/2020/06/Tourist-in-Rom-Piazza-del-Popolo-100518-300x154.jpg

In WP Rocket I have excluded dynamic-featured-image from lazy loading.

What can I do to anticipate loading of the featured image?

Hi Bernhard,

LCP issue is usually caused by sources that are blocking the page load.

In your case, you have quite a few CSS files that need to be loaded before the browser starts to load the content.

You have this <link href="https://fonts.gstatic.com" crossorigin="" rel="preconnect"> in the headarea, but it seems you are not using Google fonts, so it should be removed.

Let me know.

Hi Ying,
I have no idea where this <link href="https://fonts.gstatic.com" crossorigin="" rel="preconnect"> comes from. Maybe a plugin?
I don't use Google fonts.

I can't tell where this comes from, can you check if you have a hook element that inserts this to wp_head?

Nothing found. I will ask Ezoic whether it comes from them. Thank you :)

You are welcome :)

This archived topic is closed to new replies.