Claude Code Cache Fix

JSON →
library 4.0.0 ·javascript
verified Jun 7, 2026

Cache optimization proxy and interceptor for Claude Code that fixes prompt cache bugs, stabilizes request prefixes, and reduces quota burn. Current stable version v4.0.0, released monthly with patch releases as needed. Standalone HTTP proxy (localhost:9801) with 7 hot-reloadable extensions, no wrapper scripts or NODE_OPTIONS needed. Works with all CC versions including Bun binaries v2.1.113+. A/B tested on v2.1.117 showing 95.5% cache hit rate via proxy vs 82.3% direct. Includes Opus 4.7 advisory documenting ~2.4x Q5h consumption and ~3.3x mitigation via CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING=1. Competes with manual cache workarounds and wrapper scripts.