Simple ajax chat wp plugin cache problem

I have a frustrating problem with simple ajax chat wordpress plugin. When am trying to create a page with a livechat shorcode and i also need to use cache. But when i enable cache the ajax live function of the chat does not work. Does anyone has any suggestions? i use lightspeeed cache with lightspeed web server. Also the simple ajax chat plugin refreshes every 5 seconds but when someone posts a comment it does not show in the chat at all but it is registered.