• Hi,

    GT Metrix reports that I need to defer Javascript on this site: https://gtmetrix.com/reports/eurospa.wpengine.com/OqeJTGdb

    When I set Async Javascript to Defer, the site will not load completely in mobile – specifically iOS X in Chrome browser. I haven’t tested any other browser.

    I have left it set to DEFER for now. I don’t know how to test the javascript console for mobile devices, so I can’t tell you what it might say.

    But I did take this screenshot from the desktop: https://cloudup.com/c_Wuxg8lW7x

    If I disable Defer, then I get the warning in GT Metrix again.

    • This topic was modified 6 years, 5 months ago by ImageTony Zeoli. Reason: add screenshot URL

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ImageTony Zeoli

    (@tonyzeoli)

    Whoops, sorry. I must have had some weird connection issues. This may not be an issue after all.

    But now that I look back at the GT Metrix report, I did DEFER and it still shows the issue in the report. Let me dump the cache and see if that will help.

    Thread Starter ImageTony Zeoli

    (@tonyzeoli)

    Now, it’s happening again. Once I cleared the cache, it’s taking forever to load the background video and the rest of the page.

    Thread Starter ImageTony Zeoli

    (@tonyzeoli)

    Okay, one more email on this. After disabling and enabling all my plugins, GT Metrix is no longer reporting this issue. However, the loading issue still persists.

    Plugin Author ImageOptimizing Matters

    (@optimizingmatters)

    debugging on mobile can be hard, I usually do trial and error myself Tony 😉

    I would:
    * optimize (and defer) local JS with AO
    * use Async JS for 3rd party JS, deferring if possible, (maybe excluding some JS, e.g. for the video loading) and asyncing if needed

    hope this helps,
    frank

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Defer javascript blocks mobile loading’ is closed to new replies.