Summary
On T3 Code mobile, opening a session that has accumulated a long history (e.g. actively used for ~a week) is noticeably slow every time the session is reopened. It feels like the full history has to be re-fetched / re-hydrated from the host each open.
Request: Cache session history on the device after first load, so reopening is fast, and let the user view / clear / delete that local cache when they want to free storage.
Problem
- Long-lived sessions (multi-day / multi-week agent work) become heavy on mobile.
- Each reopen incurs a long wait before the chat is usable.
- There is no obvious control to manage local storage used by session history.
This is especially painful on mobile networks and when switching between a few large sessions during the day.
Related issues
Likely overlaps with large-thread performance work, but this is specifically about mobile client-side persistence + user control:
Even with server/pagination fixes, a local cache would still help repeat opens of the same session.
Proposed behavior
Cache
- After a session is successfully loaded on mobile, persist message/history (or a compact local representation) on device.
- On subsequent opens of the same session: load from local cache first, then sync only deltas / new messages from the host.
- Prefer showing cached history immediately (skeleton / “syncing…” for the tail) rather than a blank long spinner.
User controls
- Settings (or per-session menu) to:
- Clear local cache for this session
- Clear all local session caches
- Optional: see approximate local storage used by cached history
- Clearing local cache should not delete the real session on the host — only the phone’s offline/local copy. Next open re-downloads.
Nice-to-haves (optional)
- Cap per-session / total cache size (LRU eviction of least-recently-opened sessions).
- “Keep offline” pin for a few important sessions.
- Pagination / windowed render even when cache is local (don’t mount the entire week of messages into the UI at once).
Expected outcome
| Scenario |
Today (observed) |
Desired |
| Reopen week-old busy session on mobile |
Long load every time |
Near-instant from local cache, then quick tail sync |
| Free phone storage |
No clear control |
User can delete local history cache selectively |
| Host session |
Unchanged |
Unchanged (local clear ≠ remote delete) |
Environment
- Client: T3 Code mobile (native app)
- Trigger: sessions with large / long-lived history (example: ~1 week of continuous work)
- Repro pattern: open session → wait long load → leave → open again → wait long load again
Notes
Happy to provide approximate history size / message counts or screen recordings if useful for triage.
Summary
On T3 Code mobile, opening a session that has accumulated a long history (e.g. actively used for ~a week) is noticeably slow every time the session is reopened. It feels like the full history has to be re-fetched / re-hydrated from the host each open.
Request: Cache session history on the device after first load, so reopening is fast, and let the user view / clear / delete that local cache when they want to free storage.
Problem
This is especially painful on mobile networks and when switching between a few large sessions during the day.
Related issues
Likely overlaps with large-thread performance work, but this is specifically about mobile client-side persistence + user control:
Even with server/pagination fixes, a local cache would still help repeat opens of the same session.
Proposed behavior
Cache
User controls
Nice-to-haves (optional)
Expected outcome
Environment
Notes
Happy to provide approximate history size / message counts or screen recordings if useful for triage.