Title: JS Load Errors
Last modified: September 1, 2016

---

# JS Load Errors

 *  Resolved [cdepa](https://wordpress.org/support/users/cdepa/)
 * (@cdepa)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/js-load-errors/)
 * I think this plugin is awesome. Since installing, it has decreased my page load
   time from 4.83s to 1.2s. However, upon closer look it seems as though some of
   the JS on my site isn’t working properly as I can’t see the site logo and the
   dropdown menus don’t function. Other portions of the site powered by JS aren’t
   working throughout the site as well. When I turn off minification of JS entirely,
   the site works just fine, but my PageSpeed Insight results take a hit.
 * I’m also getting the following error in console in Chrome:
 * Failed to load resource: the server responded with a status of 404 (Not Found):
   [http://roadtostatus.wpengine.com/wp-content/cache/autoptimize/autoptimize_dd486ada1cb0a588624feab38a608e2b.php](http://roadtostatus.wpengine.com/wp-content/cache/autoptimize/autoptimize_dd486ada1cb0a588624feab38a608e2b.php)
 * (index):882 Uncaught ReferenceError: jQuery is not defined
 * Any help would be greatly appreciated!! I feel like I’m so close to getting my
   site’s speed to where it should be!
 * [https://wordpress.org/plugins/autoptimize/](https://wordpress.org/plugins/autoptimize/)

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

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/js-load-errors/#post-7692039)
 * can you empty WPE’s cache cdepa? WPE’s cache apperantly has HTML in it that refers
   to a AO’d JS that isn’t if there any more and if JS can’t be loaded (the 404),
   then you’re bound to have problems.
 * frank
 *  Thread Starter [cdepa](https://wordpress.org/support/users/cdepa/)
 * (@cdepa)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/js-load-errors/#post-7692049)
 * Okay, I just cleared the caches … still getting those errors.
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/js-load-errors/#post-7692087)
 * hmmm … could you tick the last option on AO’s settings screen, which enables 
   static file delivery?
 *  Thread Starter [cdepa](https://wordpress.org/support/users/cdepa/)
 * (@cdepa)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/js-load-errors/#post-7692134)
 * I deleted the entire plugin, started from scratch and ticked the last option.
   The site works now! Slightly worse page speed, worse scores overall, but it works
   and is faster than my site was previously. The only troubling part is that now
   I’m getting a score of F in redirect chain errors. Any insight would be helpful!
 * [https://tools.pingdom.com/#!/VyG8A/http://roadtostatus.wpengine.com/](https://tools.pingdom.com/#!/VyG8A/http://roadtostatus.wpengine.com/)
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/js-load-errors/#post-7692169)
 * great, it works! I guess WPE does not allow PHP to be executed from /wp-content/,
   hence switching to static delivery fixes the problem.
 * afraid the only way to cut down on redirects will be to cut down on affiliate/
   remarketing/ conversion code cdepa.
 *  Thread Starter [cdepa](https://wordpress.org/support/users/cdepa/)
 * (@cdepa)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/js-load-errors/#post-7692207)
 * I kind of figured 🙂 Looks like most of that stuff was all third party.
 * Anyway, thank you for all of your help! Awesome plugin and awesome support!!!

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

The topic ‘JS Load Errors’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [cdepa](https://wordpress.org/support/users/cdepa/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/js-load-errors/#post-7692207)
 * Status: resolved