Installation Error Codes in IIS 6.0

I want the IIS server to return HTTP 304 (Not Modified) when accessing a specific file.

How can I customize this?

+3
source share
2 answers

Select the Enable Resource Expiration check box on the HTTP Headers tab in IIS Manager:

IIS 6.0 F1: Website Properties - HTTP Headers Tab

+1
source

AFAIK, this is impossible to do (in IIS). For this code, several criteria must be met:

  • The client must have a cached copy of the page.
  • If-Modified-Since Request The header of the HTTP header / date should match what is on the server.

If both conditions are true, the server will return an HTTP status code of 304.

+1
source

All Articles