I optimized the loading speed of my website. A problem persists only on the mobile version.
I notice a “Largest Contentful Paint” of 4320ms for the title of my page. The google page speed test indicates under the problematic title <span class=”td-pulldown-size”>.
Is there a setting that I could change on the theme to improve the loading speed of this specific point ? I don’t have a mobile page on this page model.
Thanks
Hello,
What other element to set the title for the block can I use ?
I have the same problem on the articles with the indication <h1 class=”tdb-title-text”> LCP (4 370 ms). Difficult to remove the article titles…
Thanks
Hi,
This is case (the problems is on post titles) then I do not think that replace an element with be a solution and the h1 class=tdb-title-text do not have an element that can replace it, it must be find a different solution.
Also is this problem on both mobile and desktop version?
Another recommendation is to make a duplicate for single post template and reset the article post title element to default settings and perform a new test to see if it still making that large LCP.
Let me know the results!
Hello,
It’s only on the mobile version.
No change when i reset the article post title element to default settings.
Hi,
I understand, so if there is no difference with default post title style, will need to find a different approach, maybe the problem is related that on mobile the title is on 2 lines and seems to be the largest element at first load.
I made some test locally and seems to can get the problem resolved only if the post title appears on one line, but I think that most of articles display on mobile the title on 2 lines. I also made the same test using a default WordPress theme and the results were similar, but the LCP was smaller (from 4, to 3ms).
Normally if you have a dedicate cache plugin (example WP Rocket) and Cloudflare (CDN), it is possible to be some settings on those that can help to resolve this situation.
I will continue to check and if I find something I will let you know!
Thank you!
Hello,
I actually use WP Rocket whose customer service has helped me really optimize the speed of the site. On this specific element, they have no means of action (especially since the problem only appears on the mobile version). It is for this reason that I am addressing you. Looking forward to hearing your feedback on this.
Hi vivreausmic, the developer assigned for this task discovered some options to resolve the problem, please connect on Cloudflare/CDN and enabled this option – https://i.imgur.com/wYm0SM0.png
I hope this will help you!
Thank you!