static

Will The Bot Hurt My Page Performance?

Not really. A few reasons why:

  • The bot loads with a standard JavaScript defer tag, so it does not block the initial page render
  • The JavaScript is served with gzip compression, so the browser downloads a much smaller compressed version of the file
  • The bot is hosted separately from your site, not on your servers
  • Website scanning for training is done offline and cached, with no runtime impact on your live site
  • The widget is positioned independently from the rest of the page, so it should not push your page content around while loading

The two big ones are defer and gzip: the bot does not hold up your page while it loads, and the file is compressed before it is sent over the network.

As with any third-party widget, a page-speed scanner may still list it under things like "third-party code" or "unused JavaScript." That does not automatically mean it is materially slowing down the page.

Gzip

You can see gzip in your browser

chat_gzip.png

Or directly from the console:

curl -s --compressed -D - -o /dev/null https://cdn.authava.com/chatbot.js | grep -i content-encoding
Content-Encoding: gzip