Process Flow - Cache validity rules
Request Received
Check Cache
Is Cached Content Present?
No→Fetch from Origin
Yes
Check Cache Validity Rules
Expires?
Is Cache Valid?
No→Fetch from Origin
Yes
Serve Cached Content
End
The flow shows how nginx checks if cached content is present and valid using cache validity rules before serving or fetching fresh content.