For which methods does RFC 9110 define caching semantics?
GET, HEAD, POST, and PUT
GET and HEAD only
GET, HEAD, and POST✓Respuesta correcta
all safe methods, that is GET, HEAD, OPTIONS, and TRACE
Explicación
Caching semantics are defined for GET, HEAD, and POST, even though the spec notes that most cache implementations support only GET and HEAD. OPTIONS and TRACE responses are explicitly not cacheable, so safety alone does not imply cacheability.