Hacker News new | ask | show | jobs
by lelandfe 1 day ago
I believe this is because they don’t lazyload the document.

The entire conversation sits in the DOM.

1 comments

Yeah - is such a large dom of essentially text expected to be that slow?

For what it's worth I use a small script that essentially deletes old chat messages DOM nodes which significantly speeds it up.

Yes, because under the hood it’s much more than just text. It’s not hard to imagine dozens if not hundreds of elements are contained within each prompt+reply pair.

I bet there’s also some React performance issues involved here too

There are some real table stakes FE perf issues with the ChatGPT site