Concept Flow - Cache-Control header directives
Client sends HTTP request
Server processes request
Server sets Cache-Control header
Response sent to client
Client/browser reads Cache-Control
Client decides to cache or revalidate
Next request uses cache or fetches fresh
The server adds Cache-Control directives in the response header to tell the client how to cache the response. The client then uses these rules to decide caching behavior.