There seems to be an issue in your code when checking the If-Modfied-Since header. From what I can see in dotPeek, you check if If-Modified-Since is earlier than the newest file, and then return 304, if that is true. Shouldn't it be the other way around, that you return 304 if If-Modified-Since is later than the newest file? This means the code should read
Issue with the If-Modified-Since header
Hi Peter
There seems to be an issue in your code when checking the If-Modfied-Since header. From what I can see in dotPeek, you check if If-Modified-Since is earlier than the newest file, and then return 304, if that is true. Shouldn't it be the other way around, that you return 304 if If-Modified-Since is later than the newest file? This means the code should read
in Compression.Page_Load
/Bo
is working on a reply...