<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ayush</title>
    <description>The latest articles on DEV Community by Ayush (@tidychat).</description>
    <link>https://dev.to/tidychat</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4276115%2F94156457-f0f2-4777-a396-560335a8096a.png</url>
      <title>DEV Community: Ayush</title>
      <link>https://dev.to/tidychat</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tidychat"/>
    <language>en</language>
    <item>
      <title>I planned to make long ChatGPT chats lighter. ChatGPT already does it.</title>
      <dc:creator>Ayush</dc:creator>
      <pubDate>Tue, 01 Dec 2026 10:05:48 +0000</pubDate>
      <link>https://dev.to/tidychat/i-planned-to-make-long-chatgpt-chats-lighter-chatgpt-already-does-it-2o50</link>
      <guid>https://dev.to/tidychat/i-planned-to-make-long-chatgpt-chats-lighter-chatgpt-already-does-it-2o50</guid>
      <description>&lt;p&gt;I make TidyChat (&lt;a href="https://thetidychat.com" rel="noopener noreferrer"&gt;thetidychat.com&lt;/a&gt;), a Chrome extension for ChatGPT, Claude and Gemini. So read this as a maker's notes, not a neutral review. It is about a feature I did not ship, and why.&lt;/p&gt;

&lt;h2&gt;
  
  
  The plan
&lt;/h2&gt;

&lt;p&gt;"Why is ChatGPT so slow" is searched thousands of times a month. The usual answer is that long chats get heavy: hundreds of messages, all in the page at once. My extension was going to have a "Speed Mode" built on that idea, doing one of two things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Hide after render.&lt;/strong&gt; Take older messages out of layout so the browser has less to draw.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Trim before render.&lt;/strong&gt; Hand the page only the last few messages, and load the rest on demand.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Before writing either, I checked what the page does today. That is a habit I recommend: measure the site before you build on an assumption about it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What ChatGPT does now
&lt;/h2&gt;

&lt;p&gt;On 17 November 2026, on chatgpt.com in Chrome, I watched what the page itself requested and counted elements while scrolling. I made no requests of my own and recorded no message text.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The page asks for only the newest turns.&lt;/strong&gt; Every one of 13 chat loads asked the server for the last 10 turns (&lt;code&gt;num_turns=10&lt;/code&gt;), and the reply carried a flag saying whether older turns exist. That is approach 2, built in.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The page keeps only the turns near the screen.&lt;/strong&gt; In one chat of five messages, this is what was in the document as I scrolled:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Scroll position&lt;/th&gt;
&lt;th&gt;Turn elements in the page&lt;/th&gt;
&lt;th&gt;All elements in the page&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Bottom, as loaded&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1,267&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Top&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;1,354&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Middle&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1,267&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bottom again&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1,266&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The scrollable height stayed at 3,022 pixels the whole time, so the page reserves space for turns it has taken out. That is approach 1, also built in.&lt;/p&gt;

&lt;h2&gt;
  
  
  Claude does it too
&lt;/h2&gt;

&lt;p&gt;The same check on claude.ai, in a chat with at least 40 rows:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Scroll position&lt;/th&gt;
&lt;th&gt;Rows in the page&lt;/th&gt;
&lt;th&gt;All elements in the page&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Bottom, as loaded&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;2,151&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Top&lt;/td&gt;
&lt;td&gt;11&lt;/td&gt;
&lt;td&gt;2,773&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Middle&lt;/td&gt;
&lt;td&gt;11&lt;/td&gt;
&lt;td&gt;2,370&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bottom again&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;2,152&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Six to eleven rows at a time, out of forty or more. The scrollable height grew as I scrolled, so Claude also brings in more of the chat as you move through it.&lt;/p&gt;

&lt;p&gt;On Gemini I could not tell. My longest chat there had five turns, and all five were in the page. The chat sits in an element named &lt;code&gt;infinite-scroller&lt;/code&gt;, which suggests the same idea, but I did not see it happen.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I could not check
&lt;/h2&gt;

&lt;p&gt;This matters as much as the tables.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A really long chat.&lt;/strong&gt; The longest chat on my ChatGPT account had 13 messages. I never saw the request that loads older turns, and I did not measure typing delay or memory, because I had no slow chat to measure.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A long session.&lt;/strong&gt; A chat that grows by hundreds of messages without a reload may behave differently from one loaded fresh.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Other accounts.&lt;/strong&gt; This is one account on one day. Free and paid plans may differ, and a change like this may not reach everyone at once.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So I am not claiming long chats are never slow. I am saying that on the pages I measured, the two things a "speed up long chats" tool would do were already being done by the site. I dropped the feature the same day, and no copy of mine says TidyChat makes a chat faster. What I shipped instead is a small check that names likely causes of a slow page, such as the network or the site's own status, and says plainly that it does not speed anything up.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three ways the sites moved under me in one week
&lt;/h2&gt;

&lt;p&gt;Building on someone else's page means it changes without telling you. These are from 26 November 2026.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. A keyboard hint broke a menu.&lt;/strong&gt; My code found ChatGPT's Archive menu item by its text: exactly "Archive". ChatGPT then added a keyboard hint inside the same item, a separate &lt;code&gt;span&lt;/code&gt; holding "A", hidden from screen readers. The item's text became "ArchiveA", my exact match found nothing, and bulk archive stopped at the first chat. Delete, which has no hint, kept working. The fix was to read a label without its &lt;code&gt;aria-hidden&lt;/code&gt; parts. The lesson: when you must match on text, match on what a person would read, not on &lt;code&gt;textContent&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Gemini takes typing that does not come from a text box.&lt;/strong&gt; My panel is drawn in a shadow root. To the page, a key pressed inside a shadow root looks as if it came from the host element, which is not a text box. Gemini reacts by moving focus to its own message box, so a letter typed in my filter box landed in Gemini's composer. ChatGPT and Claude leave such keys alone. Gemini listens while the event bubbles, so stopping &lt;code&gt;keydown&lt;/code&gt;, &lt;code&gt;keypress&lt;/code&gt; and &lt;code&gt;keyup&lt;/code&gt; at the shadow root's edge keeps the letters where they were typed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. A hidden label got into file names.&lt;/strong&gt; In Claude's sidebar, a chat that has an artifact carries a second, visually hidden span reading "Includes an artifact". Reading the row's text gave me titles, and then export file names, ending in those words. The fix is the same family as the first: drop what is marked as hidden before reading a title.&lt;/p&gt;

&lt;p&gt;All three were found by looking at the live page, not by a test. My tests passed the whole time, because they were written against the page as it was the week before.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I take from it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Measure the live site before building a feature on a belief about it. An afternoon of counting elements saved me from shipping something that did nothing.&lt;/li&gt;
&lt;li&gt;Write down what you could not check, next to what you did.&lt;/li&gt;
&lt;li&gt;Treat every selector and every piece of matched text as something that will change. Keep them in one place per site, check them on the real page, and make the code stop and say so when a step does not look as expected.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you build on these sites too, I would like to hear what has moved under you.&lt;/p&gt;

</description>
      <category>chatgpt</category>
      <category>webdev</category>
      <category>javascript</category>
      <category>extensions</category>
    </item>
  </channel>
</rss>
