HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: How to fix IIS on Windows XP?
Author: Xavier Roche
Date: 05/20/2009 20:29
 
> The problem is that it downloads pages even if its
> content has not changed at all.

Your script should:
- produce an "Etag" HTTP header with some kind of content-identifier (this can
be the hexadecimal md5 of the page that is going to be flushed, or more
cleverly the hash of all dynamic and external parameters used to produce the
page)
- check before flushing the content that the client did send an
"if-none-match" header, and, if the provided etag is the same as the one you
just computed, do not send any content, but a standard HTTP status code 'not
modified' (304)
 
Reply Create subthread


All articles

Subject Author Date
How to fix IIS on Windows XP?

05/20/2009 14:47
Re: How to fix IIS on Windows XP?

05/20/2009 17:17
Re: How to fix IIS on Windows XP?

05/20/2009 20:29




4

Created with FORUM 2.0.11