Hacker News new | ask | show | jobs
by rednb 46 days ago
Thanks this is very helpful, i didn't realize that. But not sure what to do since running tests is how Claude often catches mistakes and iterates. If i run them myself, the cache will still expire.

However where i think you have a point is that it tends to run tests quite casually where a reviewer would have been enough to catch mistakes.

IMHO, the real problem is the 5min cache way too small. They should up it to 1 hour.

1 comments

With a subscription the main conversation has a 1h TTL, and subagents 5m. https://code.claude.com/docs/en/prompt-caching#cache-lifetim...
Oh makes sense thanks, so i'll forbid agents from running builds and tests.
Thank you so much for this! You have helped me considerably.