# Overview
A [[Caching]] approach where data is first read from a cache. If the data is not on the cache, the cache reads it from the primary database.
## Diagram
![[Read-through Cache 2024-12-19 10.04.45.excalidraw.svg]]
%%[[Read-through Cache 2024-12-19 10.04.45.excalidraw|🖋 Edit in Excalidraw]]%%
# Key Considerations
- May want to enable refresh ahead, where the cache is periodically updated with latest data from database, to reduce cache misses
# Pros
- Simplifies application code by making the cache read from the database on a cache miss
- [[Consistency]]
# Cons
- Potential for increased latency
# Use Cases
- Read heavy workloads
# Related Topics