Support » Plugin: Fast Velocity Minify » rev slider

  • Resolved johndos

    (@johndos)


    Hello Paul when I activate jquery defering the rev slider just disappears, is there a way to exclude the addon? Or any other options I might have

    • This topic was modified 1 year, 12 months ago by johndos.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Raul P.

    (@alignak)

    Hello,

    When you enable jQuery deferring, you have to ensure that there is absolutely no inline JavaScript on your HTML (hint, revslider needs render blocking).

    When you defer jQuery, what happens is that the browser loads your HTML first and all JS files in order “after” the HTML load. This is fine if anything that uses jQuery is included on external files, but as expected, anything on the HTML that requires jQuery for whatever reason, won’t work because jQuery was not defined yet.

    You should see a warning saying undefined on your Google Chrome Console, under the Dev Tools.

    In other words, your site requires you to have render blocking scripts, or at least, jQuery (and possibly other revslider files too).

    You could enable it only for pagespeed insights, but then your slider will be gone for pagespeed tests only. You still need render blocking to use sliders, in most cases.

    Latest versions of revslider have an option to defer JS.
    Maybe try that option… but again, I’m almost certain that they will still need jQuery to be render blocking.

    Hey mate, I fixed it, I started using a CDN so I am processing jquery through the cdn and everything is fixed, I do not need to defer it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘rev slider’ is closed to new replies.