|
|
|
|
|
by klodolph
5014 days ago
|
|
I keep on seeing this get thrown around, that POST is not cacheable: > unless the response includes appropriate Cache-Control Forgive me if I'm dense, but doesn't this "unless" clause mean exactly that if you include a Cache-Control header, the POST will be cacheable unless the Cache-Control header says otherwise? The discussion is then really about whether max-age 0 means "for 1 second" or "never". I don't see why it would be necessary for it to mean "never" when there are two other ways you can get that behavior: by specifying "no-cache" or by simply omitting the header. The entire discussion is about a developer who uses the following header: Cache-Control: max-age=0
|
|