# Optimize chat history loading to prevent browser tab crashes

**URL:** <https://community.perplexity.ai/t/optimize-chat-history-loading-to-prevent-browser-tab-crashes/4206>\
**Category:** Feature Requests\
**Tags:** sonar-api\
**Created:** [March 20, 2026, 4:42pm UTC](https://community.perplexity.ai/t/optimize-chat-history-loading-to-prevent-browser-tab-crashes/4206 "2026-03-20T16:42:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stoicismguy](https://sea1.discourse-cdn.com/flex001/user_avatar/community.perplexity.ai/stoicismguy/32/2824_2.png) [@stoicismguy](https://community.perplexity.ai/u/stoicismguy)\
**Post date:** [March 20, 2026, 4:42pm UTC](https://community.perplexity.ai/t/optimize-chat-history-loading-to-prevent-browser-tab-crashes/4206/1 "2026-03-20T16:42:38Z")

</div>

## 🔍 Problem Statement

Currently, opening a long thread in Perplexity fetches and renders the entire chat history at once. This causes massive UI lag and eventually kills or freezes the browser tab due to memory overload.

## 💡 Proposed Solution

The proposed feature is to implement lazy loading for the chat window. Additionally, when opening an existing chat, it should start at the very bottom (showing the latest message first) and load older messages bottom-to-top as you scroll up, similar to standard chat apps.

## 📌 API Impact

- **Which API component is affected?** [chat history]
- **Is this related to a specific model?** [No]
- **Would this require new API parameters or changes to existing ones? [Mb yes]**

---

<div class="post-metadata">

**Author:** ![Kesku](https://sea1.discourse-cdn.com/flex001/user_avatar/community.perplexity.ai/kesku/32/898_2.png) [@Kesku](https://community.perplexity.ai/u/Kesku)\
**Post date:** [April 7, 2026, 10:55pm UTC](https://community.perplexity.ai/t/optimize-chat-history-loading-to-prevent-browser-tab-crashes/4206/2 "2026-04-07T22:55:15Z")

</div>



---

<div class="post-metadata">

**Author:** ![Kesku](https://sea1.discourse-cdn.com/flex001/user_avatar/community.perplexity.ai/kesku/32/898_2.png) [@Kesku](https://community.perplexity.ai/u/Kesku)\
**Post date:** [April 7, 2026, 10:55pm UTC](https://community.perplexity.ai/t/optimize-chat-history-loading-to-prevent-browser-tab-crashes/4206/3 "2026-04-07T22:55:35Z")

</div>

Hey — this forum is specifically for the Perplexity API (Sonar models, Search API, Agent API, SDKs, billing/credits). For issues with the Perplexity consumer product (web app, mobile, Spaces, Library), the best route is the in-app help or support at [support.perplexity.ai](https://support.perplexity.ai).

Closing this thread, but feel free to open a new one if you have an API-related question.
