• Resolved topfgartenwelt

    (@topfgartenwelt)


    At the moment I have on mobile devices a LCP about 3,3 seconds when testing with Page Speed Insights. When doing the test with webpagetest.org server location Frankfurt am Main the LCP is about 0.843s for the Desktop-Device. So the problem is the mobile one. Lazy Loading is deactivated at the moment, so that there can’t be any negative impact.

    Is there a way to get the LCP down? Is there a way to push to featured image out of the first viewport? I have already seen that there is the possibility in the premium version to show the heading at first and than the featured image. But would there be a possibility to move the featured image a little bit down further?

    If there would be solution you have one customer more for your premium theme ??

    Greetings Kathrin

    The page I need help with: [log in to see the link]

Viewing 8 replies - 16 through 23 (of 23 total)
  • Thread Starter topfgartenwelt

    (@topfgartenwelt)

    Maybe you are right… My site has about 17.000 visitors in a month and I did really some tests on the live site – I think I run such tests only on a test site which is not affecting the online site at all.

    Is it possible that the code mentioned by ejcabquina only works for desktop?

    add_action( 'wp', function() {
        remove_action( 'generate_before_content', 'generate_featured_page_header_inside_single', 10 );
    } );

    Greetings Kathrin

    Leo

    (@leohsiang)

    That code should work on both desktop and mobile ??

    Thread Starter topfgartenwelt

    (@topfgartenwelt)

    Thank you for answering, I already thougt it works for mobile and Desktop. But is it possible that it only works for Desktop?

    Greetings Kathrin

    Hi there,

    that function applies to ALL device sizes there is no simple way to make it apply to a specific device.

    Thread Starter topfgartenwelt

    (@topfgartenwelt)

    Hi David, no problem! The LCP started decreasing on Desktop and also the FCP is getting better scores. Only the CLS stays the same (0,15) even there is no measureable CLS. But now I’m getting a problem with mobile that wasn’t there before. The FID is increasing about 2 seconds a day and total blocking time is about 4,8s. Have you any idea, what can be the reason for it?

    Greetings Kathrin

    How much of your timings are coming from Real World traffic or from you testing the site?

    Thread Starter topfgartenwelt

    (@topfgartenwelt)

    Hi David, most of the timings comes from real world traffic ?? I have already found the reason for the growing FID. The GPDR Plugin loads Google Analytics when the rest of the site is also loaded. That has no impact on the desktop site but unfortunately it increases time to interactive and in further consequence the FID. Until recently I always loaded Google Analytics with a delay of 3 seconds so that there wasn’t any impact on site rendering. Unfortunately this doesn’t work anymore with the GPDR plugin in that way. So I have to find another way ??

    Greetings Kathrin

    Glad you found the issue – and thanks for sharing what the problem was!

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘To high LCP on mobile devices’ is closed to new replies.