Notes on full-stack engineering, LLM apps, and things I learn while building.
Jul 10, 2026 · 9 min read
A deep dive into how prompt caching works on Claude and OpenAI — the prefix rule, cache writes vs reads, TTLs, minimum sizes, and the mistakes that silently kill your hit rate.