Fix for ChatGPT UI lag in long sessions — local Chrome extension

Hey everyone. Short post with a practical fix for a problem many of us have been seeing for months.

The problem (short)

  • After long conversations (hundreds of turns, big token counts), the ChatGPT web UI becomes painfully slow: typing hangs, scrolling stutters, responses take forever.

  • Root cause: the frontend keeps the entire conversation tree in the DOM (visible and hidden nodes). That DOM churn (reflows, event handlers, retained memory) causes the browser to slow down — even though the model/server only needs a much smaller active context.

What I built

  • I made a small local-only Chrome extension called ChatGPT LightSession.

  • It trims the hidden DOM nodes the web UI accumulates while preserving the active conversation path the model needs. No backend, no API keys, no tracking, everything runs locally in your browser.

  • Result: huge drop in RAM/CPU usage and much faster typing/scrolling on long threads. For many users it completely removes the “waiting / blank screen” pain.

How to try it

  • Search for “ChatGPT LightSession” on the Chrome Web Store (v1.0.1 is live). Install, refresh chat.openai.com or chatgpt.com, and try a long conversation.

  • The extension is intentionally local-only and it doesn’t send your data anywhere.

Open source & next steps

  • I plan to open-source the repo and publish the code in the coming weeks (cleaning up docs + packaging the repo first). I’ll post the link here when it’s ready.

  • I’m also working on an experimental sidebar mode to browse past exchanges locally without re-introducing the performance hit.

Why I built this

  • I wasted hours waiting for long chats to become responsive again. The frustration from that UX problem is what pushed me to build a fix. If it helps even a small percentage of folks here, it’s worth it.

Community feedback so far

  • Many people on Reddit have tried it and left positive comments, several report it has made ChatGPT usable again for long sessions.

If you try it: please leave feedback here (what OS/browser/version, rough length of your conversation when you saw lag, and whether it helped). If you’re a frontend/dev and want to help design the sidebar / UX or review the repo once it’s public, DM me and I’ll send details.

Thanks and hoping this helps people who do long research/code/writing sessions in ChatGPT.

10 Likes

That’s amazing. !!! So great.

Thank you for all the work!

Thank you so much! It works like magic! I have been struggling with this issue forever!

Right now, right before I installed your extension, I was struggling with a 565-node conversation which made me restart the window with every turn. Your extension trimmed it down to 10 nodes and now it is as fast as a fresh one!

OS: Linux Mint 22.1 | Kernel: 6.8.0-85-generic
Browser: Chromium 1.4.1

holy crap i am working a massive idea atm and tried the desktop app and so many other things to not have to click wait 5-10x this just worked blows my mind all the thumbs up man and thanks

Any chance this could be created or used with the Windows Store ChatGPT app?

Edit: this is awesome! I’m working on generating code for automations to use with Scouting America (BSA) for our Troop and this works flawlessly. I have pages and pages of Google code that was bogging down Firefox and Chrome (I thought it was a Firefox issue). Switched to Chrome, installed your plugin, and I’m off to the races. Thanks!

1 Like

This is great! Thank you!

Using Google Chrome 141.0.7390.122 (Official Build) (64-bit) on a Windows 11 (25H2) PC.

Your extension helped speed my Code Vibing sessions immensely:image

please, make this to Firefox browser aswell. PLease!

1 Like

Very useful and productive. Saved me many hours! Thanks for the great job!

This extension has been a huge help! I don’t have to keep switching conversations anymore, and everything stays consistent. Super handy—thanks a lot!

thank you for this. now chatgpt is more response.

I am making firefox version and it will be available soon! I will share the link :slight_smile: