MDN wants to talk to developers like you: https://qsurvey.mozilla.com/s3/8d22564490d8

304 Not Modified

这篇翻译不完整。请帮忙从英语翻译这篇文章

HTTP 304 未改变说明无需再次传输请求的内容,也就是说可以使用缓存的内容。这通常是在一些安全的方法(safe),例如GETHEAD 或在请求中附带了头部信息: If-None-MatchIf-Modified-Since

If the equivalent 200 OK response would have included the headers Cache-Control, Content-Location, Date, ETag, Expires, and Vary.

Many developer tools' network panels of browsers create extraneous requests leading to 304 responses, so that access to the local cache is visible to developers.

状态

304 Not Modified

标准

标准 标题
RFC 7232, section 4.1: 304 Not Modified Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests

浏览器兼容

Feature Chrome Edge Firefox Internet Explorer Opera Safari Servo
Basic Support(Yes)(Yes)(Yes)(Yes)(Yes)(Yes)(Yes)
Feature Android Chrome for Android Edge Mobile Firefox for Android IE Mobile Opera Mobile Safari Mobile
Basic Support(Yes)(Yes)(Yes)(Yes)(Yes)(Yes)(Yes)

更多可见

文档标签和贡献者

 此页面的贡献者: ujsxn
 最后编辑者: ujsxn,