Pixel art of two prompt strips beside documents and a locked cache drawer, contrasting an early change with a reusable stable prefix

Prompt Layout for Cache Hits: Put the Stable Part First

A simple, diagram-first guide to writing prompts that a prefix cache can reuse: why one early timestamp throws away the whole cache, the right order for prompt parts, how to keep chat history append-only, and a script that measures the difference.