Title: Using With Autoptimize/Async Javascript Plugins?
Last modified: November 15, 2018

---

# Using With Autoptimize/Async Javascript Plugins?

 *  [sunnycmui](https://wordpress.org/support/users/sunnycmui/)
 * (@sunnycmui)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/using-with-autoptimize-async-javascript-plugins/)
 * 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)

 *  [crzyhrse](https://wordpress.org/support/users/crzyhrse/)
 * (@crzyhrse)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/using-with-autoptimize-async-javascript-plugins/#post-10888794)
 * There is another issue with this, with at least one other plugin… See this thread:
   [https://wordpress.org/support/topic/dropdown-choices-stats-info-not-appearing-in-firefox/#post-10888765](https://wordpress.org/support/topic/dropdown-choices-stats-info-not-appearing-in-firefox/#post-10888765)
 * And also concurrently I was struggling with WP Rocket interacting with the Gravity
   Forms Signature Add-On, and though it was seemingly resolved after interacting
   with both their respective support teams, along with updates to both that came
   at the right time, I believe this offloading may have been involved in that issue
   as well.. I’m not a “coder” so can’t say more than this…

Viewing 1 replies (of 1 total)

The topic ‘Using With Autoptimize/Async Javascript Plugins?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/commonwp.svg)
 * [commonWP](https://wordpress.org/plugins/commonwp/)
 * [Support Threads](https://wordpress.org/support/plugin/commonwp/)
 * [Active Topics](https://wordpress.org/support/plugin/commonwp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/commonwp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/commonwp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [crzyhrse](https://wordpress.org/support/users/crzyhrse/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/using-with-autoptimize-async-javascript-plugins/#post-10888794)
 * Status: not resolved