Concept Flow - Validation-based caching
Client sends request
Check cache for response
Has validation info?
Send validation request to server
Fetch fresh data
Return cached response
Client receives response
The client first checks if a cached response exists. If yes, it validates with the server if the cached data is still fresh. Depending on validation, it either returns cached data or fetches fresh data.