I want the IIS server to return HTTP 304 (Not Modified)
when a particular file is accessed.
How can I set this up?
I want the IIS server to return HTTP 304 (Not Modified)
when a particular file is accessed.
How can I set this up?
AFAIK, it isn't possible to do this (in IIS). There are a few criteria that have to be met for this code to be sent out:
If both of those conditions are true, the server will return a HTTP 304 status code.
Check the "Enable Content Expiration" box on the HTTP Headers tab in IIS Manager: