Closed Jxck closed 3 years ago
shared cache could not store this response because it's not include must-revalidate, public, s-maxage or other directive who explicitly allows ?
That is correct. Another way of saying it is that requests that carry credentials are expected to be private unless otherwise marked. max-age does not mark something as shared-cacheable. The cache directives must-revalidate, public, and s-maxage do.
I don't see a need for further change here. Adding another note does not help (the note recently added about public just made things worse).
The current text is correct. If Authorisation
is present in the request, max-age
is not a sufficient signal tha the response is cacheable.
In section 3
and Section 3.5 saids
based on above, if client sends Authorization Request like below
and server respond below
shared cache could not store this response because it's not include
must-revalidate
,public
,s-maxage
or other directive who explicitly allows ?in discussion of #320
@mnot mentions that
I also thought that presence of
max-age
saids that it explicitly fresh and not necessary to addpublic
. And my understands for misunderstand semantics which @mnot mention is also here.But current draft seems saids different thing for me.
if
max-age
is not a thing, I think it can be Noted inpublic
section likeor if
max-age
is a thing, note like below helps devs who misunderstandingplease correct me if I did misread or misunderstand.