Title: Defer javascript blocks mobile loading
Last modified: July 6, 2019

---

# Defer javascript blocks mobile loading

 *  [Tony Zeoli](https://wordpress.org/support/users/tonyzeoli/)
 * (@tonyzeoli)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/defer-javascript-blocks-mobile-loading/)
 * Hi,
 * GT Metrix reports that I need to defer Javascript on this site: [https://gtmetrix.com/reports/eurospa.wpengine.com/OqeJTGdb](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](https://cloudup.com/c_Wuxg8lW7x)
 * If I disable Defer, then I get the warning in GT Metrix again.
    -  This topic was modified 6 years, 10 months ago by [Tony Zeoli](https://wordpress.org/support/users/tonyzeoli/).
      Reason: add screenshot URL
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdefer-javascript-blocks-mobile-loading%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [Tony Zeoli](https://wordpress.org/support/users/tonyzeoli/)
 * (@tonyzeoli)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/defer-javascript-blocks-mobile-loading/#post-11705327)
 * 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 [Tony Zeoli](https://wordpress.org/support/users/tonyzeoli/)
 * (@tonyzeoli)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/defer-javascript-blocks-mobile-loading/#post-11705329)
 * 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 [Tony Zeoli](https://wordpress.org/support/users/tonyzeoli/)
 * (@tonyzeoli)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/defer-javascript-blocks-mobile-loading/#post-11705433)
 * 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 [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/defer-javascript-blocks-mobile-loading/#post-11706341)
 * 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.

 * ![](https://ps.w.org/async-javascript/assets/icon-128x128.png?rev=1839260)
 * [Async JavaScript](https://wordpress.org/plugins/async-javascript/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/async-javascript/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/async-javascript/)
 * [Active Topics](https://wordpress.org/support/plugin/async-javascript/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/async-javascript/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/async-javascript/reviews/)

## Tags

 * [defer](https://wordpress.org/support/topic-tag/defer/)

 * 4 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/defer-javascript-blocks-mobile-loading/#post-11706341)
 * Status: not resolved