"rf" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello > I am using a caching Filter that *conditionally* uses > the default servlet (through RequestDispatcher) to > serve a page, or generate it again. In the case when > the default servlet is used to serve the page, this > servlet seems to send the headers Last-modified and > ETag, and this seems to have an effect on IE which, on > a shift-refresh, does not seem to request the page > again at all. (IE, by default, is set to check for > newer versions of stored pages 'Automatically'). > > 1. Is the IE behaviour due to those two headers? Yes. (or, more generally, a browser won't fetch a non-updated page that includes a Last-Modified header when the page hasn't changed).
> 2. If yes, how can I instruct the default servlet not > send these headers? You can't. > 3. Sending these headers is good, but I thought IE > would send the request, nevertheless, with the > If-none-matched and If-Modified-Since. Is this > something wrong with IE? IE should send a If-Modified-Since (and get a '304 Not Modified' response). Otherwise, you will have to take it up with Bill Gates ;-). > > Thanks > ~rf > > __________________________________________________ > Do you Yahoo!? > Yahoo! Web Hosting - establish your business online > http://webhosting.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
