Support » Plugin: commonWP » Using With Autoptimize/Async Javascript Plugins?

  • sunnycmui

    (@sunnycmui)


    The speed boost from the CDN loading of so many scripts is really nice.

    It would be great if this could play nicely with Autoptmize and Async Javascript. Using those in combo with commonWP result in many scripts breaking, I assume because commonWP changes the order that the other plugins are loading the js files in. I know I have jQuery set to be render blocking since so many other things depend on it, but loading it via commonWP doesn’t seem to render block. I don’t have this issue when I use the Version Control for jQuery plugin to load my jquery scripts from a CDN.

    There’s many other scripts that can’t run properly either. I tried adding a mountainload of defers to all the scripts in Async Javascript, but that doesn’t resolve everything.

    I don’t know if it’s possible to make the scripts execute in the same order they would after Autoptimize/Async Javascript run through them, but that would probably fix it. I know that’s kind of hard especially if you have Autoptimize aggregate all the JS. Maybe commonWP could just load nonaggregated scripts if matching order of execution is a tall order?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Using With Autoptimize/Async Javascript Plugins?’ is closed to new replies.