Support » Plugin: Smart Slider 3 » Remove unused JS code

  • Resolved a223123131

    (@a223123131) or Lighthouse tells me to remove unused JS code in the combined SSL3 js file.

    Lighthouse will become a ranking factor for Google. SSL3 is amazing from features and functions, but how can I remove code of functions I do not use? Best would be to have a switch in SSL3 where I can enable / disable sections to reduce js and css code!

    • This topic was modified 1 year, 7 months ago by a223123131.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Laszlo


    Hi @a223123131

    We are already working on some modifications which will improve the scores in Lighthouse, but it will take some time.
    So currently I can not really tell anything concrete about when will be able to release a version that contains the improvements.

    Best regards,

    Thread Starter a223123131


    Yes, Lighthouse is mixing many things and requires a lot of changes. I’m confident that you are the first / best plugin to support Lighthouse optimization!

    Is there an update on this feature?

    Plugin Author Nextendweb


    We are still working on it. For exmaple Smart Slider will not use jQuery on the frontend in the future also we are refactoring our code by removing compatibility codes for old, non supported browsers. I think that will decrease our overall frontend JavaScript code size by 10-30%.

    Lighthouse might report that xx% of the JavaScript files are unused, but it is only valid for the loading. It’s not able to measure the codes which needed when you are changing slides, use different animations/autoplay and such features. Also it is not viable to split Smart Slider’s JavaScript into 1kb chunks as it would result a ton of network requests for those files instead of one of two.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove unused JS code’ is closed to new replies.