Archived topic
Suddenly Growing LCP
13 replies · Started by Kathrin on April 22, 2021
Hi, me again :( Today the LCP started growing suddenly on mobile and desktop devices but I didn't change anything. When I look into the console I get the following message:
The LPC is the H1 heading as it should be, but there is now another file qualified as LCP: It seems to be always an other image or text paragraph somewhere on the blog and it has the following message connected to it: data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20807%20640'%3E%3C/s or just p.
https://imgur.com/a/wa176oH
https://imgur.com/a/GHY8Uvn
https://imgur.com/a/jbDx6eF
https://imgur.com/a/MuJmHcD
And why I have suddenly 2 largest contentful paints? And it seems that the problem appears on desktop.
https://www.topfgartenwelt.com/tomaten-topf-mit-wasserspeicher-rankhilfe
What is causing that? It wasn't there before. Do you have any idea?
Greetings Kathrin
Hi there,
this element:
data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20807%20640’%3E%3C/s looks like the code a Lazy Loader uses to add the placeholder for an image before it loads.
I can't explain why your getting 2 x LCP elements reported. You might want to ask the developers of the WebDev browser extension why thats the case.
Ok, but sometimes the LCP is added to a text without lazyload as you can see on the screenshots. Is this also related to the LazyLoad Plugin?
Greetings Kathrin
I can't see any 'attributes' on other HTML eg, <p> that would say they are being lazy loaded. But if i inspect your link the very first element, inside the entry-content, i see a very large code block that starts with:
<div class="ai-viewport-2 ai-viewport-3" data-insertion="prepend"
There are several of them ... i am not sure what it is or whether that is affecting the page....
I have cleared the cache and the problem isn't reported anymore and it's green again. But there is still a second LCP.
AI-Viewport seems to be connected to AdInserter. My ads are lazy-loaded.
Greetings Kathrin
I don't see 2 x LCP if i run a PSI report or check the Chrome Developers performance report... i can only assume its your browser extension that is incorrectly flagging them.
Dear David, I think you are right. But can you reproduce a to high LCP on my site? I'm not sure... the extension shows everything green, but sometimes it is flagged red... I don't know why. I didn't change anything.
Greetings Kathrin
I ran a few tests on a throttled 3G network and the average LCP was 1.7 seconds. All in the Green :)
Thank you very much :) You offer really a great support!
You're welcome :)
It's a mess, but the LCP started growing again and I don't have any idea why. What I'm doing wrong. I have changed nothing...
Greetings Kathrin
Hi there,
i tested a few different posts on your site and they all passed the LCP test.
I also ran quick Web Page Speed test on one of the posts and i cannot see any issues there that may cause any 'glitches':
Dear David, thank you very much for controlling. It is a little bit weird.
Greetings Kathrin
You're welcome