如何检查jQuery.ajax()请求标头状态是否为"304 Not Modified"?
jqXHR.status通常返回200,即使请求的标题是"304 Not Modified".
jqXHR.status
200
ifModified:true 没有太多帮助,因为它破坏了XHR数据请求.
ifModified:true
ajax jquery header http-status-code-304
ajax ×1
header ×1
http-status-code-304 ×1
jquery ×1