• Resolved BlueSteam

    (@bluesteam)


    I have both plugins installed. Is this necessary??

    Here are my settings:
    http://prntscr.com/otftfo – Async Javascript
    http://prntscr.com/otftwd – Autoptimize

    Here is the error after loading the page:
    http://prntscr.com/otfuya – Errors in Incognito Mode

    If I disable the Async Javascript plugin, the errors disappear.

    Nothing works on chrome as per snapshot.

    Firefox loads 90% of the site except the google maps at the bottom.
    http://prntscr.com/otfw3a – Firefox errors.

    Is there any way to fix this? Am I not supposed to run both plugins side by side??

    Thanks in advance.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Generally speaking I advice users to start of with just Autopitmize, which will aggregate, minify and defer all JS (except jQuery which is excluded by default). IF after that you still have render-blocking JavaScript (mostly 3rd party stuff), then you can try to Async that using the AsyncJS plugin, but this might not always work as some JS doesn’t want to be asynced (or can’t be).

    Based on the screenshot of the Firefox console you’ll have to exclude jQuery from being asynced/ deferred.

    hope this clarifies,
    frank

    Thread Starter BlueSteam

    (@bluesteam)

    Thanks Frank 🙂

    I have uninstalled the Async plugin because it actually made no difference to my scores and it has removed the errors 🙂

    Maybe a list of compatible plugins alongside each other would be good for your fans so we don’t wast time asking you stupid questions 🙂

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Maybe a list of compatible plugins alongside each other would be good for your fans so we don’t wast time asking you stupid questions

    there are no stupid questions, only frequently asked questions and those go in https://ww.wp.xz.cn/plugins/autoptimize/faq/ .. maybe I should add something there 😉

    Thanks Frank 🙂

    you’re welcome, feel free to leave a review of the plugin and support here! 🙂

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

The topic ‘Autoptimize and Async Javascript not playing nice together’ is closed to new replies.