Clear messages in the browser client

Hi all,

We are having an issue when we are trying to have lots of active users on the same channel at the same time.

The servers seem to perform fine however the user browsers struggle with the messages. We don’t know whether is the rate or the volume of messages.

We are thinking of clearing the browser messages to avoid consuming more and more memory and just keeping the last 100 messages or so.

Is there a way to programmatically eliminate older messages?