Implement a lazy loading (or incremental loading) system for chat histories. On older or less powerful devices, loading an extremely long dialogue all at once can cause noticeable lag or slowdowns. By loading the chat in smaller, manageable chunks (e.g., when scrolling up), performance could improve significantly without overwhelming the user's system. While this might slightly increase server requests, it could enhance the user experience in cases of long or resource-intensive conversations.
UPD: Although on the other hand then it would be impossible to quickly open the chat and immediately find the desired message via ctrl+f search... Hm.. Maybe then the ideal option is to switch the slider on/off “chat lazy loading / or all chat at once” in the settings.