Support » Plugin: Autoptimize » jQuery breaking

  • Resolved sebas6691

    (@sebas6691)


    Hi there,

    My theme maker uses on his demo site WP Rocket and made jQuery non render blocking.
    http://savoy.nordicmade.com/
    Big jeej!

    However when I try it with AO it breaks the site and I get errors. Is there a way AO can make jQuery non render blocking like WP Rocket does?

    Thanks!

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

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

    (@optimizingmatters)

    hey @sebas6691;
    it’s easy to make jquery non-render-blocking, just remove js/jquery/jquery.js from AO’s JS optimization exclusion list. this is likely to work with a theme that does not require jquery to be available early, but if you add plugins in the mix that becomes more difficult as as soon as only one plugin expects jQuery to be available early, things break. so experiment by removing jquery from the exclusion, but don’t get your hopes up too high (it’s excluded by default because that’s the fail-safe approach after all) …

    enjoy your weekend!
    frank

Viewing 1 replies (of 1 total)
  • The topic ‘jQuery breaking’ is closed to new replies.