Archived topic
CLS issue on desktop
5 replies · Started by Rakesh Gupta on April 12, 2023
Hi,
I am facing a CLS issue on desktop. Mobile performance is good. Please let me know how this can be fixed.
Rakesh
Hi there,
i see FOUC ( Flash of unstyled content ) when your site laods.
Initially it loads without any styles, and then it loads all your styles and that looks to be how you have set up your Litespeed caches. Check with Litespeed support on how to configure it correctly.
Hi David,
I disabled the lightspeed cache and still, the CLS issue persists.
https://pagespeed.web.dev/analysis/https-www-learnandexcel-com/rs4hek8ifj?form_factor=desktop
You can view the page speed screenshot at https://snipboard.io/4V2Agb.jpg
Now the page does appear to load with styles.
Please let me know what needs to be done.
Rakesh
Hi Rakesh,
Can you try re-disabling Litespeed again? We'll try to test the site with it disabled from our end.
Yes, you are right. The CLS issue gets resolved without LiteSpeed. I had only disabled the cache earlier, but other settings may have affected the CLS issues.
However, now performance for mobile deteriorates. I will figure out the LiteSpeed settings.
Thanks
Rakesh
Yes, It would be best to reach out to Litespeed support regarding the issue as it seems to be coming from a setting they have as mentioned by David.