CX uses Firebase (free) for realtime platform to make your chat faster and reliable. That means CX doesn’t use your own resources like other AJAX chats. Your all chat data stored on Firebase temporarily during chat communication. Besides, your data will be removed from Firebase and saved on your own server after ending chat. So you still keep your data in your server without using your server resources too much!
Chat can be ended by both visitors and operators. If visitor close window, chat is ended automatically.
We removed AJAX from CX and start to use Firebase, because:
- AJAX is slow and not realtime (even your server is really good)
- AJAX overloads CPU usage
- 50 concurrent chats is NOT possible with AJAX
- Chat should send request to server every second. While WP itself can overload CPU usage even it doesn’t use AJAX frequently, a chat script would overload CPU easily: WordPress heavy admin-ajax.php usage
- There is no way to build a mobile application with AJAX (it is possible but it will kill mobile battery if we do that with AJAX)
Version 1.4.3 – 21 May 2015
[!] Fixed security rules