Optimizing Performance
Quick steps
- Disable chat history plugin and do not use logs option in admin panel
- Run http://www.yoursite.com/cometchat/cron.php periodically (every 3 hours)
- Show CometChat only for logged in users (i.e. hide bar for non-logged in users)
- Set CometChat to show only online friends/users in Who’s Online list
- Move the CometChat HTML code from just after
<head> to just before </body>
- If you are using standalone integration, make sure that your mySQL queries are optimized
Alternatives
If your server is unable to handle the load, we suggest you subscribe to our CometService. We also provide alternative transports- Self-hosted APE server, PusherApp and BeaconPush which can be used instead of CometService.