status code 304 not modified, but file was modified
asp.net-mvc, c#, iis
Solution
The reason for the status you're getting is most likely a result of the two headers at the bottom of your screenshot: `If-Modified-Since` and `If-None-Match`. These are detailed here.
Basically, these headers say to the server that if the conditions in the header are met, send the resource (with a `200` response). If the conditions are not met, send a `304` response. So, IIS thinks that the file has not been modified since 25 June and that its etag is the value in the `if-none-match` header.
There could be a number of reasons for this depending on your IIS configuration and what, exactly, is being served. Firefox is likely working because it's not sending those headers.
Problem
I have cleared the browser cache, and have restarted the browser, but Chrome still returns `304` code. How do I make IIS return `200` code? request respond details: