What should a http client do if server returned Cache-Control: private, public ?
I have a feeling private should override public, but I can’t find a confirmation in the RFC (other than MUST in private and MAY in public).
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From a pragmatic point of view, err on the side of caution and treat it “private”.
That way you cause a little extra network traffic for the lousy server, but keep your user’s (potentially private) data safe.