I need to know what should happen when set different value to request max-age and response max-age for example
in server response: res.setHeader("Cache-Control", "max-age=3600")
in client request: Cache-Control: max-age=60
when I try that I thought that after 60 second the response should considered stall by the browser and send a new request but it did not. it kept use the cache. but when I set max-age to 0 in request it does as expected and did not use the cache.
So my question is what is the difference between set max-age=0 and to any number else (eg:60) in request cache-control header