Cache sits between application and database. Read-through: cache fetches from DB on miss automatically. Write-through: writes go to cache, cache writes to DB synchronously.
Pros: simpler application code, cache always consistent. Cons: every write has cache overhead, cache must understand DB schema. Write-behind (async writes) improves write latency but risks data loss.