Okay
  Public Ticket #1413397
Performance - render blocking js
Closed

Comments

  • James started the conversation

    Hi, there are some advance settings which I have tried but still seeing render blocking error when using gtmetrix, pingdom, hummingbird, etc.  I would like the js to be loaded in the footer.

    Can you please recommend the necessary  settings?

    Thanks, Jim

  • [deleted] replied

    Hello Jim,

    Thank you for getting in touch with us. My name is Attila and I'm happy to assist you today.

    I would like to confirm that we have received your message. Due to the nature of the issue you are experiencing, I will have to contact and consult with the development team first. I will get back to you as soon as I can.

    We appreciate your patience while we're working towards your ticket.

  • [deleted] replied

    Hello again,

    The Include scripts in the footer option was meant for this purpose and it should work this way. Have you tried enabling that setting ? It's in the Advanced tab on the main page of the plugin's inteface, further down the page.

  • James replied

    Thanks for your reply. I am attaching an image of my settings as well as one of the remaining JavaScript files that are in render blocking. The slider is at the very top of my page and it is something that users see right away. I don’t know if the three Javascript files are necessary to start the slider before everything else is loaded or not.   I would like at least the background image to display so it looks like there is less wait time.  Is that possible?

    Thank, Jim

  • [deleted] replied

    Thank you for the feedback. I will forward this to the dev team and get back to you with their solution/answer.

  • [deleted] replied

    Hello again,

    Unfortunately the render blocking error will remain, as the JS files are not loaded async.

    To avoid that you would need to apply async attributes. But the problem with that is, it  would no longer load in the pre-specified order. The order for LayerSlider (and for any other similar complex plugin) is important, because of the jQuery, Greensock, etc dependencies.