Explain 'Write-Through' Caching.

Explain 'Write-Through' Caching.

Approach: Describe writing to cache and DB simultaneously.

A caching strategy where data is written to the cache and the underlying database at the same time. It ensures data consistency but adds write latency.

Follow-up: What is 'Write-Back' caching?

Key concepts: consistency, latency.