Forum Replies Created
-
AuthorPosts
-
Thank you Rikard.
Is the theme compress and merge “better” than a plug-in like WP rocket? How does it differ? I at least 1 second worth render blocking CSS that is being loaded that is never used. (see private content)
November 6, 2024 at 7:00 pm in reply to: header logo element causing high LCP relative to everything else #1470777Thank you. I did find the preload image setting in WP Rocket and enabled which did improve the LCP (at least turned it green).But, this is a basic test page with no content. I subsequently found out that the page loads 40+ render blocking CSS calls prior to the logo. The majority of the CSS are never used in the page. The problem with this is, the LCP will easily exceed 2s on other pages of the site for other elements because of the render blocking CSS. Essentially almost 2s worth of blocking that I can’t do anything about, unless I’m missing something.
It is set to recommended “load only used elements”. But it appears to be loading css that isn’t used in the page.
I 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
November 5, 2024 at 8:27 pm in reply to: header logo element causing high LCP relative to everything else #1470701This is what I have set:
Hide on Mobile is enabled
Hide Under: 720
Hide over [blank]November 5, 2024 at 6:50 pm in reply to: header logo element causing high LCP relative to everything else #1470689Hmm. Hide on mobile was/is enabled.
I added 720 to “Hide under”.
November 5, 2024 at 6:04 pm in reply to: header logo element causing high LCP relative to everything else #1470683Yes. It’s hosted on Kinsta but the DNS is managed by 1and1.
Hi 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 5:42 pm in reply to: header logo element causing high LCP relative to everything else #1470679Thanks for the replies. The diagnostic part of the LCP is indeed the logo. The logo is only 8Kb in size. The slider is set to not loaded for small screens so it should not be affecting the LCP. I’ve tried preloading (using the WP setting) and that does not improve things significantly. LCP is still high. I’ve started from the beginning with WP rocket disabled – very large LCP for the logo. Then I enabled various optimizations one at a time while making sure my cache was clear. No matter what, LCP is very high for the logo. There’s nothing but a header, footer, and the logo, all part of the Enfold theme. It should pass all diagnostics.
Thank you,
John -
AuthorPosts