CMS Development

MDevTeam3
Member

Featured Image is creating LCP issue

SOLVE

Hi everyone,

I have two questions to ask:

  1. I have a blog post, and the featured image is causing a significant LCP (Largest Contentful Paint) issue. I've optimized the image in every possible way and used the fetchpriority attribute, but I'm still seeing SEO issues. What is the best way to address this problem?

  2. I am using a HubSpot form in the footer, which is affecting my page speed. Is there any way to tackle this issue?

    Attaching the image for better understaning.

Thank you!

MDevTeam3_0-1717695467675.png

 



0 Upvotes
2 Accepted solutions
Anton
Solution
Thought Leader | Partner
Thought Leader | Partner

Featured Image is creating LCP issue

SOLVE

Hi @MDevTeam3

you could try adding this script to your post template

{% require_head %}
        <link rel="preload" as="image" href="{{ content.featured_image }}">
{% end_require_head %}

 

As for optimization: What's the filesize of the image(s)?

 

If you haven't already - here's the documentation about {% require_js %} which might be benefitial

 

best, 

Anton

 

Anton Bujanowski Signature

View solution in original post

Jnix284
Solution
Hall of Famer

Featured Image is creating LCP issue

SOLVE

@MDevTeam3 for the form issue, nothing you can do to optimize it - the best option would be to replace the form on the blog with a CTA section that directs them to a dedicated landing page with the form. You can also try a CTA pop-up that triggers based on exit intent, etc. that might be a little better than the form directly on the page.


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon

View solution in original post

0 Upvotes
3 Replies 3
IMakkar
Member

Featured Image is creating LCP issue

SOLVE

Hi @MDevTeam3 ,

There is a new app available on hubspot app marketplace for speed optimization and improving image LCP- 
https://ecosystem.hubspot.com/marketplace/apps/website-speedy

 

You can try it for free for 14 days, it works instantly.

0 Upvotes
Jnix284
Solution
Hall of Famer

Featured Image is creating LCP issue

SOLVE

@MDevTeam3 for the form issue, nothing you can do to optimize it - the best option would be to replace the form on the blog with a CTA section that directs them to a dedicated landing page with the form. You can also try a CTA pop-up that triggers based on exit intent, etc. that might be a little better than the form directly on the page.


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon
0 Upvotes
Anton
Solution
Thought Leader | Partner
Thought Leader | Partner

Featured Image is creating LCP issue

SOLVE

Hi @MDevTeam3

you could try adding this script to your post template

{% require_head %}
        <link rel="preload" as="image" href="{{ content.featured_image }}">
{% end_require_head %}

 

As for optimization: What's the filesize of the image(s)?

 

If you haven't already - here's the documentation about {% require_js %} which might be benefitial

 

best, 

Anton

 

Anton Bujanowski Signature