• Resolved cdepa

    (@cdepa)


    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

    (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/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Frank Goossens

    (@futtta)

    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

    (@cdepa)

    Okay, I just cleared the caches … still getting those errors.

    Plugin Author Frank Goossens

    (@futtta)

    hmmm … could you tick the last option on AO’s settings screen, which enables static file delivery?

    Thread Starter cdepa

    (@cdepa)

    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/

    Plugin Author Frank Goossens

    (@futtta)

    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

    (@cdepa)

    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.