You deploy the fix. You open the site and it is there. Someone messages to say it is still broken. You ask them to refresh. Still broken. You do a hard reload on your own machine, just to be sure, and it is definitely fixed. For you.
Nothing is broken. Their browser has a stored copy of the page that it believes is still fresh, so it never asked the server whether anything had changed.
labs.sammii.dev/charts/caching runs five sets of caching headers against the same six visits, with your deploy in the middle, so you can see exactly which visit finds out and which one does not.
The one true thing
A fresh stored response is reused without contacting the server at all.
Freshness is the whole mechanism. While a stored response's age is under its max-age , the browser may use it without a request leaving the machine. Only once it is stale do validators like ETag come into play.…