{"question":"What does the s-maxage response directive do, and which caches does it apply to?","state":"grounded","http_status":200,"index_version":"0fc1763d6701","answer":"The s-maxage response directive applies to a shared cache. [rfc9111#5.2.2.10] For a shared cache, the s-maxage response directive overrides the maximum age specified by either the max-age directive or the Expires header field. [rfc9111#5.2.2.10] For a shared cache, the s-maxage response directive incorporates the semantics of the proxy-revalidate response directive. [rfc9111#5.2.2.10] A shared cache MUST NOT reuse a stale response with s-maxage to satisfy another request until it has been successfully validated by the origin. [rfc9111#5.2.2.10] The s-maxage response directive permits a shared cache to reuse a response to a request containing an Authorization header field, subject to the directive's requirements on maximum age and revalidation. [rfc9111#5.2.2.10]","message":"","citations":["rfc9111#5.2.2.10"],"supported":[{"text":"The s-maxage response directive applies to a shared cache.","citation":"rfc9111#5.2.2.10","coverage":0.8333},{"text":"For a shared cache, the s-maxage response directive overrides the maximum age specified by either the max-age directive or the Expires header field.","citation":"rfc9111#5.2.2.10","coverage":1.0},{"text":"For a shared cache, the s-maxage response directive incorporates the semantics of the proxy-revalidate response directive.","citation":"rfc9111#5.2.2.10","coverage":1.0},{"text":"A shared cache MUST NOT reuse a stale response with s-maxage to satisfy another request until it has been successfully validated by the origin.","citation":"rfc9111#5.2.2.10","coverage":1.0},{"text":"The s-maxage response directive permits a shared cache to reuse a response to a request containing an Authorization header field, subject to the directive's requirements on maximum age and revalidation.","citation":"rfc9111#5.2.2.10","coverage":1.0}],"withdrawn":[],"consulted":[{"section_id":"rfc9111#5.2.2.10","citation":"RFC 9111 Section 5.2.2.10: s-maxage","rank":1,"score":0.6373},{"section_id":"rfc9111#3","citation":"RFC 9111 Section 3: Storing Responses in Caches","rank":2,"score":0.6315},{"section_id":"rfc9111#5.2.2","citation":"RFC 9111 Section 5.2.2: Response Directives","rank":3,"score":0.6048},{"section_id":"rfc9111#5.2.1","citation":"RFC 9111 Section 5.2.1: Request Directives","rank":4,"score":0.5938},{"section_id":"rfc9111#3.5","citation":"RFC 9111 Section 3.5: Storing Responses to Authenticated Requests","rank":5,"score":0.5681},{"section_id":"rfc9111#5.2.2.3","citation":"RFC 9111 Section 5.2.2.3: must-understand","rank":7,"score":0.5473},{"section_id":"rfc9111#8.2","citation":"RFC 9111 Section 8.2: Cache Directive Registration","rank":8,"score":0.5437},{"section_id":"rfc9111#5.2.3","citation":"RFC 9111 Section 5.2.3: Extension Directives","rank":9,"score":0.5305}],"budget":{"deadline_ms":150.0,"elapsed_ms":1.351,"exceeded":false,"stages":{"retrieval":0.458,"drafting":0.005,"grounding":0.855}}}