-
AuthorPosts
-
November 4, 2024 at 5:28 pm #1470591
I’m trying to figure out why PageSpeed is showing inconsistent, seemingly random, high LCPs. On a simple test page, the header logo is registering an LCP of over 2.7s. While on another page, a simple H1 text block registers over 3s. While on another page, a paragraph (text only) has the largest LCP score. If I delete that H1 text block the high LCP moves to some other part of the page. Is this a bug in the theme?
I’m using WP rocket and have recommended settings enabled for LCP issues.
Thank you. -John
November 5, 2024 at 12:01 pm #1470656Hey TTI,
Where exactly are you seeing that this is applying to specific elements? The last thing that any theme developer wants is for their theme to not work properly and to load slowly, so any type of functionality that would intentionally slow down loading would not be added. To add something that would randomly slow down loading would be even worse of course.
We are not really in the position to answer specific question pages speed insights results, so you might want to consider reaching out to their support directly, or to WP Rocket.
Best regards,
RikardNovember 5, 2024 at 5:55 pm #1470682Hi Rikard,
I posted 3 links in the private data block that show the specific elements affected. One thing I also noticed in with my simple test page (header w/logo, footer, and test block) – if I add another element, like a text block and special heading, the large LCP will move to a new element. Maybe the layout builder causing this? Perhaps you could recommend a starting point for a test case or steps to help me debug this so I can get you the info you need.
Thank you –
JohnNovember 5, 2024 at 8:33 pm #1470702I did some more digging and ran Catchpoint webspeed test. I listed about 42 render blocking CSS calls right before the logo. Most of the css that is listed is not used on the page. For example slideshow.css, portfolio.css, promobox.css, etc., etc. This seems to be culprit. Is this by design or is there something wrong with my page? Why would unused css load? Thanks, John
-
AuthorPosts
- You must be logged in to reply to this topic.