Okay
  Public Ticket #2954119
issue with caching plugins and defering of scripts
Closed

Comments

  • Alastair Fallon started the conversation

    I am working on the page speed and have found that the layerslider is having a significant impact. I can defer scripts with w3Total cache which pushes my page speed score up significantly and I have used it many times before. Unfortunately, this always causes the duplicate jQuery issue and none of the solutions provided work. I have also tried 3 other different caching and optimization plugins, all with the same result. How can I get around this issue as it is having a detrimental effect on the sites page seed score. As this is the first time I have used layerlsider, and I have found it to be very good, I am wondering if I can use it for projects in the future if I can't defer scripts without it causing these issues. Thanks

    This is the test site url https://staging.me.d3z.uk/ where I am using Speed Booster instead. Deferring the scripts gives me a blank screen instead. I'd rather use w3TC though

  • Alastair Fallon replied

    Any update on this. Anything I can do?

  •  244
    Kreatura Support replied

    Hello Alastair,

    Thank you for getting in touch with us!

    There are a few things to set under LayerSlider -> Plugin Settings -> Performance. I suggest you to enable the include scripts in the footer + Conditional script loading + Defer JavaScript loading and I think it will solve this issue.

    Please check it.

    Best Regards,
    Andrea | Kreatura Support Team

  • Alastair Fallon replied

    Hi Kritosf, thanks for the reply, but I have tried all these. After doing the below and deferring the JavaScript, which has a significant impact on the rest of the site's pages speed, I get the duplicate jQuery error. Is there a way around this. Is there a way to disable jQuery on the slider perhaps as it is already being loaded. Thanks

  •  244
    Kreatura Support replied

    Hello Alastair,

    Could you please send me a link and a wordpress admin temporary where I can check the multiple jQuery error? Thank you, in advance.

    Best Regards,
    Andrea | Kreatura Support Team