Support » Plugin: Comments Like Dislike » Heavy dependencies

  • Beware: the plugin will mess up your performance since it requires jQuery library for just one AJAX request and loads entire Fontawesome library for just a two icons.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Happy Coders

    (@happy-coders)

    Hey Mate,

    Are you having a bad day šŸ™‚

    WP already uses jQuery to function as well as many other themes and plugin and jQuery itself is a very lightweight library so we don’t think it will mess up the site performance. Either we use it or not, your WP somehow will surely load it.

    And we are using around 8 icons and fontawesome is already providing them so we are using them and fontawesome is also a lightweight font icons library which works wonderfully from many years and we surely don’t want to reinvent the wheel šŸ™‚

    Thanks.

    Thread Starter piotrmerton

    (@piotrmerton)

    That is not correct. WordPress uses jQuery only on backend and forcing loading whole library in front, almost 100 KB of technically debt code, for just one AJAX request is very bad practice. Are you familiar with Core Web Vitals? Enqueing this amount of not usable code will drastically alter Time To First Byte metric, especially on mobile.

    Regarding FontAwesome – it’s just pure madness. The CSS alone is 46 KB which is nuts (my whole site, which I consider rather complex is 50 KB). But ON TOP OF THAT it requires additional 15 files of webfonts which are well over 2 megabytes (!!!). All of this for just two icons is just lazy coding.

    • This reply was modified 6 months, 2 weeks ago by piotrmerton.
    • This reply was modified 6 months, 2 weeks ago by piotrmerton.
    Plugin Author Happy Coders

    (@happy-coders)

    So your site is not using jQuery except our plugin :O ? If that’s the case and you are that smart then you can surely dequeue our script and enqueue your own script to add your own js? You can even dequeue the font awesome and please build your own icon and use it before pointing as lazy coding. WP Surely gives that functionality doesn’t it? So now who is lazy?

    Are you paying us for using our plugin? If not then please have some respect over people contributing to the community by giving their valuable time building and maintaining the plugin from long time so that many people can use the script for free.

    People like you are the reason people stop maintaining their plugins because no matter how hard they work from years, still people like you will come and give 1 review because their site is 50 kb and plugin loads js with 100 KB. It seems someone is building and loading the site with dialup internet. Facepalm !!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Heavy dependencies’ is closed to new replies.