Is LiveChat slowing my website?

Krzysztof Kraus
4 min read
updated: Jun 19, 2019

When testing your website with services like Pingdom Tools, GTmetrix or PageSpeed Tools by Google, you may come across some issues with LiveChat script. So, is LiveChat slowing my website? In this article, you will learn:

Is LiveChat slowing my website?

How we load our script and how it affects your website?

When adding LiveChat script to your website, all of the assets that loaded through it load asynchronously. It means that, whenever LiveChat performs an action on your website, like loading a chat window or sending pings, this action is handled by our servers. Because of that, it does not directly affect the performance of your website or server. If you’d like to see some additional proof, here are some lines of code responsible for loading our code asynchronously:

(function() {
  var lc = document.createElement('script'); lc.type = 'text/javascript'; lc.async = true;
  lc.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + '';
  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(lc, s);

So why you may still see some errors regarding how our LiveChat script loads?

What errors regarding LiveChat may you occur and what do they mean?

Because of the way in which our script works, when testing it with tools like Pingdom, you may encounter the following errors:

Leverage browser caching

Leverage browser caching means that your website’s already loaded assets should be loaded directly from the hard drive – in case that the visitor of your page has refreshed it or is browsing through your site.

Leverage browser caching

It’s a great way to improve the loading times of your website, especially when loading elements like your company’s logo or other media loaded on your page. However, it is not so good when using various tracking tools, like the one used at LiveChat.

As we are updating the appearance and the state of your chat window in real time, we cannot save those settings on your website visitor’s hard drive. When doing that, the appearance of your chat window would not update itself for your visitor, and he would not be able to browse through your website when chatting with you.

Combine external JavaScript

Combining external JavaScript means that multiple assets loaded from a server load from a single script. This is also a great way to improve the overall performance of your website, but it would affect the tracking method used at LiveChat as well.

Combine external JavaScript

As there are many aspects of our chat window that you can change on the fly, we cannot load all of them under one JavaScript. Doing that would cause issues with displaying the chat window on your website properly.

Serve static content from a cookieless domain

As the name of this message suggests, it means that the static content, like the images loaded on your website, should be served from the domain that does not assign any cookies to your website visitors. This is more of a general improvement that includes cookie policies as well, but it would also harm the visitor tracking used at LiveChat.

Serve static content from a cookieless domain

Unfortunately, as we store the information about each visitor of your website in cookies, we cannot serve our content via a domain that would not include them. That information is needed to determine if the visitor is a new or returning one. By reading cookies, we can also determine if the visitor has previously chatted with you.

Is LiveChat slowing the overall performance of my website?

Due to the asynchronous nature of our script, we can assure you that LiveChat is not slowing the overall loading times of your website.

Because we track the visitors of your website in real time and, at the same time, we provide you with the information about your visitors in LiveChat app, we cannot optimize our script based on the suggestions provided by Pingdom Tools or GTmetrix.

I need more details!

If you would like to check out additional details and see exactly how much time does it take for your website assets to load, we can recommend GTmetrix and their Timings feature. All that it takes is to sign up for a free account and it will give you the ability to check out the detailed loading times of your website elements, like DOM content.

Get additional details about the loading times of your assets with GTmetrix’s Timings!

Long story short: Next time when testing your website with a software like GTmetrix, you can rest assure that LiveChat is not slowing the performance of your website.

Hopefully, you have found this article helpful but if you have any additional questions or doubts, feel free to start a chat with us - we are available 24/7/365!

Was this article helpful?

Got it!

Thanks for your feedback.

Thank you!

We’re happy to help.


Diagnosing Network Problems with LiveChat

Learn the process of diagnosing network problems with your LiveChat and see how can you provide us with the data needed to resolve them as soon as possible!

Read the article

Frequently Asked Questions

Check the frequently asked questions about LiveChat Software. Find your answers or just open LiveChat support chat and ask us anything.

Read the article

Start using LiveChat now!

Free 14-day trial Team plan features No credit card required

Still not convinced? Discover all LiveChat features

Discover our other products