The cache sits between the application and the database and loads missing entries itself; the app only talks to the cache.