ClaudeHack

#prompt-caching

2 hacks

  1. 1.

    Claude Code re-reads your whole conversation at the cached rate. Come back after a long lunch and the first message reprocesses all of it at full price.

    0.00 points·14 hours ago·Usage & Limits·easy·discuss
  2. 2.

    Add a top-level cache_control ephemeral flag so growing conversation prefixes reuse cached tokens and cut API cost and latency.

    0.00 points·14 hours ago·Usage & Limits·intermediate·discuss