Page optimization please, it gets slow on long conversations

In really long conversations the page starts to get really heavy and slow in loading, even turning the scrollbar up and down turns slow at those pages, I think you guys could manage a solution where the past text updates on demand (not on the model’s mind tho), but on the user’s interface. im not proposing a button to see more, im proposing a hidden feature, you feel like just scrolling up, but it actually is loading your past conversations on the spot, how about that? maybe there is something better than my solution you guys can think of, maybe using a lighter data maintenance on past chats on the same page, who knows.