Exclude the chat code from your caching tool. Caching may prevent updates (like chat invitations or behavior settings) from reflecting in real time. Instructions for exclusion for some popular plugins can be found here:
Rocket: – Navigate to Settings > WP Rocket > File Optimization. – In the Excluded JavaScript Files field, add the URL or keyword, or Domain related to your chat script.
– In the JS Excludes field, input the specific Domain name or pattern you wish to exclude. – Detailed guidance is available here: LiteSpeed Cache Tuning Tab.
NitroPack: –Log in to your NitroPack dashboard. –Navigate to Cache Settings > Cache, and scroll to the Excluded Resources section.