Want a 304 for expired but valid content

Discussion in 'Windows / IIS' started by MisinformedDNA, Sep 1, 2009.

  1. If the browser requests an object that’s in the browser cache but has expired, the object may still be valid. I checked that IE is sending the If-Modified-Since header, but the response is a 200 with the full content, instead of a 304 signalling that nothing has changed.

    How do I get IIS to return a 304 instead?

    Thanks.
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    I don't think there's anything you can configure. IIS handles this automatically.
     

Share This Page