http code 304 in browser

I do a request in IE 11 to a static image, eg https://blabla/image.png. I notice that IE developer tools says HTTP response code 304. So I assume this request comes from the browser cache and it has not hit the server. That makes sense, because the first time I do the request it returns 200, the 2nd, 3rd, etc it returns 304. But when I view the Internet Information Access logs, the request is logged every single time and has sc-status 200. I would expect that only the first would be logged or that the first would be logged with sc-status 200 and the following requests with 304. Why is this?

链接地址: http://www.djcxy.com/p/45600.html

上一篇: 检查网址是否转到包含文字“404”的页面

下一篇: 浏览器中的http代码304