18 people reported

All time, since Oct 13, including 14 thumbs-up on GitHub.

Interactive sessions get 5m cache TTL

“Interactive sessions get only 5m prompt-cache TTL while claude -p on same login gets 1h”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/claude-code/issues/12130/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

Quiet. No reports and thumbs-up in the last two weeks, down from 10 a week at the mid-October peak. Not fixed, but a workaround is known.

Interactive sessions use 5m prompt cache TTL instead of 1h. Interactive CLI sessions write only 5-minute cache entries while headless claude -p on the same account still writes 1-hour.

Is this your bug?

File my report
Where
interactive CLI
Versions
2.1.296 to 2.1.304
Platforms
macOS, Windows
How bad
Breaks a normal workflow. Some reports say it used to work.

Part of: Prompt cache misses and re-writes11 bugs

  1. Sleep re-sends full agent context4 people
  2. Warm prompt cache fully missed2 people
  3. Resume re-writes prompt cache3 people
  4. CLAUDE.md cache not shared3 people
  5. Cross-session prompt cache misses2 people
  6. Prompt cache misses after system message3 people
  7. Subagent prompt cache expires2 people
  8. Background agent summary requests12 people
  9. Context after prompt breaks cache4 people
  10. Subagent resume cache miss4 people

Original reports4, newest first

  1. Interactive sessions request 5-minute prompt cache on enterprise org, headless uses 1-hour TTL#103753
  2. Interactive CLI uses 5m prompt cache TTL instead of 1h since v2.1.301#103673
  3. Interactive sessions default to 5m prompt-cache TTL while claude -p gets 1h#103392
  4. Interactive sessions write the 5-minute prompt cache from session start, while claude -p on the same account writes 1-hour (2.1.296, Team seat, survives /login)#101685

Do you work on Claude Code?

Claim its RAP Sheet to see what your users report and answer them in one place.