A write-back cache is a data storage optimization technique where modifications (writes) are initially committed only to the cache. The updated data is marked as dirty and the corresponding write to the slower, persistent backing store (like main memory or disk) is deferred until the cache block is evicted or explicitly flushed. This policy prioritizes write latency and reduces I/O traffic to the backing store, trading immediate durability for speed. It is a core mechanism in CPU caches, database buffers, and agentic memory systems where rapid state updates are critical.
