Okay
  Public Ticket #1415699
LayerSlider and Deferred Javascript
Closed

Comments

  • altjx started the conversation

    I'm trying to improve the performance of my website by making changes based on some performance tests run by GTMetrix. One of their suggestions is to defer the parsing of Javascript. After disabling it, I'm extremely happy with not having anymore animations on the website; however, the slides using LayerSlider do not show up.


    The Deferred Javascript Plugin has an option to disable deferring of certain javascript "handles", but I'm not quite sure what handles should be disabled or what that actually means. Can someone assist me with this by chance? Or can I somehow still use LayerSlider to not start with an animation so that javascript can still be deferred and the slides still work?

  • altjx replied

    So I disabled the WP Deferred Javascript Plugin to see which LayerSlider JS files were being used, and just added those to the exceptions. All is well now.

  • [deleted] replied

    Hello altjx,

    Thank you for the feedback, glad you could solve the problem. If you need further assistance please let us know.