Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Sorry, been travelling.
This was intentional (although I forgot to update the directive name).
I agree this wasn't a great way to do it, though. I think the options are:
I think those are ordered according to my preferences, least to most.
(I strongly suspect many people don't realise
I agree with the conclusion, but am pretty sure that you meant to say s-maxage in that section defining s-maxage. That's all I changed, so it should be fine unless you wanted to add more text to explain why. I don't think it is necessary to explain more because adding s-maxage implies the server wants shared caches to reuse the response.