Only display the last 50-100 messages in the chat (web frontend)
The web browser can get sluggish when a chat has grown too large, probably due to DOM tree bloat. I’d like to suggest a feature where only the last 50-100 messages (perhaps configurable by user preference) of a chat would ever be displayed in the chat and older message automatically be removed from the top.
There could be another feature similar to the Discord client that older message get dynamically reloaded in chunks from local storage when the user scrolls the chat window back to the very top. Or similar to SillyTavern AI that shows a button on the top of the scrollable chat that the user can click to load the complete chat.
Log in to comment and vote
Comments2
Silver River
Dec 2, 2025
I’m definitely in favour of this. It’s not like the messages are gone but just having a button to load extra ones would make the page a lot smoother to use. Right now the common slow down even when typing in long chats makes for a really bad experience.
Indigo Peacock
Nov 25, 2025
I can’t fathom why LLM sites don’t use dynamically reloaded chunks in chats to begin with. It’s not like it’s some cutting-edge technology. Chatting programs have used it for decades.