Read-through cache.
also: read-through · read throughThe cache sits between the application and the database and loads missing entries itself; the app only talks to the cache.
the two-minute refresher
- Same read flow as cache-aside, but the cache library or service does the loading.
- Simpler application code; loading logic lives in one place.
- Needs a cache that supports loaders, and couples the cache to the data source.