Archived topic
Largest Contentful Paint issue
11 replies · Started by Anil kumar on January 16, 2022
Hi there,
if you can share a link to your site then we can take a look and provide you with some advice.
Hi there,
i ran a page speed test on the site here for reference:
https://pagespeed.web.dev/report?url=https%3A%2F%2Fwww.parikshapoint.com%2F
The major issue being flagged is related to Javascripts running on the site:
Reduce unused JavaScript
Reduce the impact of third-party code
Minimize main-thread work
Reduce JavaScript execution time
All of them point to the 3rd party scripts being a problem. And most of them are related to adverts.
You should use a Plugin like Flying Scripts or PerfMatters to defer the loading of those scripts.
LCP can be improved by NOT lazy loading your featured images - this topic explains:
https://generatepress.com/forums/topic/css-class-for-image-lazy-loading-exclusion/#post-2039856
I am already using the Autoptimize plugin you mentioned.
Hi, david
I'm already using Autoptimize plugin, Should I still install any JavaScript plugins?
Hi there,
I'm not exactly sure if Autoptimize has defer parsing and/or loading JS feature.
I believe that's why David recommended another optimization plugin. To do this one job.
Hi Elvin,
I read and saw as much about generatepress. I thought generatepress was a great theme. But I am using this theme from last 5 months. But I haven't got good result yet. Earlier I had a CLS issue on my website which lasted for a long time. Then now the CLS and LCP issue has come. My website has not yet given good speed pefomance. you tell me what to do ?
Please read what i provided here:
https://generatepress.com/forums/topic/largest-contentful-paint-issue/#post-2081982
Hi David,
thank you for this. i am going to install Flying Scripts plugin.
You're welcome