Support » Plugin: Chatbot with IBM Watson » Major performance issues

  • Resolved nicoter

    (@nicoter)


    Hi,

    In the Google Search Console all my pages have been flagged as slow.

    When analyzing the page speed with http://www.gtmetrix.com (via the waterfall tab) I noticed one specific, slow URL getting loaded: https://www.site.com/wp-json/wp/v2/

    To figure out which plugin was causing this I turned off all WP plugins and re-enabled one by one while running a test on Gtmetrix.com each time. When re-enabling the Chatbot with IBM Watson plugin the page loading time went from 0.8s to 1.6s and the number of requests from 23 to 30.

    The following 7 additional requests are being made when the plugin gets enabled, even on pages where the chatbot is not being displayed:

    https://www.site.com/wp-includes/js/jquery/jquery.js
    https://www.site.com/wp-includes/js/jquery/jquery-migrate.min.js
    https://www.site.com/wp-includes/js/underscore.min.js
    https://www.site.com/wp-includes/js/backbone.min.js
    https://www.site.com/wp-includes/js/api-request.min.js
    https://www.site.com/wp-includes/js/wp-api.min.js
    https://www.site.com/wp-json/wp/v2/

    Questions:

    1) Do they all have to be loaded for the chatbot to work? Any chance to improve the page speed? As of know the plugin is a huge performance hog. Especially the loading of https://www.site.com/wp-json/wp/v2/ slows the page down.

    2) How can I make the necessary resources load only on pages where the chatbot is being displayed via shortcode?

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author intelahelp

    (@intelahelp)

    Hello @nicoter.
    Thank you for contacting us. We are looking into it.

    Thread Starter nicoter

    (@nicoter)

    Hi @intelahelp
    I appreciate that, thanks!

    Thread Starter nicoter

    (@nicoter)

    Any news on this?

    While PageSpeed has already been a Google ranking signal for a while, just last week they decided to put even more weight on this by releasing the Core Web Vitals, see e.g. this news article.

    I optimized everything I could on my WP, but the IBM Watson Chatbot plugin alone increases the LCP (Largest Contentful Paint) by approx. 57%. Here’s the loading times:

    Plugin disabled: 1.4 seconds
    Plugin enabled: 2.2 seconds

    I have 30+ plugins enabled and while the three slowest add 0.1-0.3 seconds each, the Chatbot with IBM Watson plugin is the one which slows down the whole WordPress installation by far the most. It alone puts my website from green (good) to orange (needs improvement) in the PageSpeed Insights report (and the Google search console).

    Is there a workaround to disable the loading of the 7 additional requests on all pages except the ones where the shortcode is being used? This would really help for now.

    Plugin Author intelahelp

    (@intelahelp)

    Hello @nicoter.
    We released the new version of plugin (0.8.28) that has the fix to your issue. Please update your plugin to the latest version and let us know if the issue persists.

    Thread Starter nicoter

    (@nicoter)

    Hi,

    That’s great news!

    I confirm that now the resources get only loaded on pages where the chat box is being displayed.

    Thank you fo this fix, it’s much appreciated!

    Plugin Author intelahelp

    (@intelahelp)

    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Major performance issues’ is closed to new replies.