- This topic has 14 replies, 4 voices, and was last updated 3 years, 1 month ago by
David.
-
AuthorPosts
-
February 12, 2023 at 10:02 am #2530541
George
Any chance I could have some pointers as to why there are LCP issues on desktop on the URL attached? Main one seems to be caused from an inline headline SVG icon further down the page.
February 13, 2023 at 1:37 am #2531091Fernando Customer Support
Hi George,
Can you try uploading the fonts you have locally? Currently, that’s the only thing I see changing while manually looking. It’s not causing a shift though. Can you check if it somehow helps?
February 14, 2023 at 1:16 pm #2533424George
Ok, I’ve uploaded local fonts but same issue . From a scan I did at https://www.webpagetest.org I got the result attached but I am not sure what to make of it. Maybe it can make sense to you?
February 14, 2023 at 3:40 pm #2533522Ying
StaffCustomer SupportHi George,
Just did a lighthouse test, and your site doesn’t seem to have LCP issue on the desktop:
https://www.screencast.com/t/TNWUWrRaI also checked the report you attached, when I hover over the images, I don’t see a layout shift, do you?
February 14, 2023 at 5:48 pm #2533571George
Hmmm, I keep seeing it, strange. Like the black red frame when you hover over the image. CLS shows as 0.763 on desktop. Lighthouse test doesn’t show it but the pagespeed.web.dev, GMetrix and webpagetest.org tests all show it. I’ve attached screenshots. Can you replicate it?
February 15, 2023 at 4:26 am #2533962David
StaffCustomer SupportHi George,
in my dev tools i see that fonts are using
display: swapand there is a tiny amount of FOUT occurring.
If you can set the font display toautoFebruary 15, 2023 at 6:16 am #2534064George
I am using local fonts and the setting in the LiteSpeed cache is Default (there are two options for font display, default and swap). I’ve reuploaded fonts with
display-auto,same issue.February 15, 2023 at 6:46 am #2534099David
StaffCustomer SupportThat
imghas nowidthorheightattributes, so the browser can’t reserve space for it.
So it relies on that CSS to resize it to 300px. And that CSS is not included in the critical CSS that litespeed is loading in the head of your doc..Best fix is to make sure the image does have
widthorheightattributes that are exact match so the CSS isn’t required.Also the Litespeed inline CSS doesn’t have all the above the fold styles, so the FOUT is fixed but the font is still be resized.
February 15, 2023 at 9:21 am #2534427George
Switched back to a core image block since a GB image block doesn’t allow width and size attributes. That’s how it was before, didn’t fix the issue.
February 15, 2023 at 9:34 am #2534441David
StaffCustomer SupportCan you disable Litespeed and any other optimizations ?
February 15, 2023 at 9:44 am #2534455George
Done.
February 15, 2023 at 9:49 am #2534462David
StaffCustomer SupportAnd now the CLS is almost
0https://www.webpagetest.org/vitals.php?test=230215_AiDcQ5_ENX&run=2&cached=0#cls
Its Litespeed messing with the CSS and creating a poor Critical CSS that seems to be the cause
February 15, 2023 at 10:01 am #2534478George
I disabled Load CSS Asynchronously from LiteSpeed, problem solved.
Thanks David!
February 15, 2023 at 10:38 am #2534516George
It started doing it again, I’ve had enough with this, though, thanks again.
February 16, 2023 at 4:56 am #2535359David
StaffCustomer SupportAll optimizers that try to automatically create create critical css and async load the remaining css generally end up messing something up. Might be worth checking with Litespeed support, as their config looks super complex.
-
AuthorPosts
- You must be logged in to reply to this topic.
