Is LiveChat slowing my website?
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:
- How we load our script and how it affects your website?
- What errors regarding LiveChat may you occur and what do they mean?
- Is LiveChat slowing the overall performance of my website?
- And what if I’m still not convinced?
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:
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;
- Serve static content from a cookieless domain.
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.
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.
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.
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.
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!