Concept Flow - Why caching improves performance
Client Request
Check Cache
Return [Process Request
Store Result in Cache
Return Response
When a client sends a request, the server first checks if the response is in cache. If yes, it returns cached data quickly. If no, it processes the request, stores the result in cache, then returns the response.