Process Flow - Caching strategies
Client Request
Check Cache
Return
Store in Cache
Return Data
When a client requests data, the system first checks the cache. If data is found (cache hit), it returns immediately. If not (cache miss), it fetches from the database, stores the result in cache, then returns it.
