Link to home
Start Free TrialLog in
Avatar of mphillip85
mphillip85Flag for United States of America

asked on

"HTTP Headers" "Enable Content Expiration" option

I have IIS7 windows 2008 64bit RC2
I have half of the events in the IIS logfiles as 304 error code.

If i set it to expire immediately ; the following occurs.

the user signs into the web app, then runs a report to be processed and the report when finished is stored on the NAS drive, and when they click on a link that point to the file to open , it comes up blank.  so is there a good settings that keeps the 304 from taking up half of the logfile entries but i cannot used immediately because the reports (regardless of format) come up blank

any thoughts or suggestions will be most grateful
thank you
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

'304' is not an error code, it "Indicates the resource has not been modified since last requested.".  That is actually a good sign because it means that browser caching is working properly and reducing the amount of bandwidth required.  Read more about it here:

http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#3xx_Redirection
Avatar of mphillip85

ASKER

so if you logfile is 540,000 lines and you have 253,000 lines thats ok.

would it be ok just to expires set to 1 day so we dont have as many lines of 304?

my goal is to safely get the highest count of 200 code as possible, i have a whole slew of other errors to contend with, so i am just trying to widdle down the lines of non 200's

thank you
on the pc i have " check for newer versions of pages" automatically
is this what is triggering the 304?
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
he was very thorough in his explanation, which is very curtious and i am grateful for the great feedback that was given.
Glad to help.