W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 1999

Re: SSInclude/caching problem

From: Henrik Kniberg <henrik@kniberg.com>
Date: Fri, 16 Jul 1999 21:14:05 -0400 (EDT)
Message-ID: <378FD8B0.1ECEC742@kniberg.com>
To: Augusto Sellhorn <asellhor@ccd.harris.com>
CC: www-jigsaw@w3.org
> If you add this to your document ...
>
> <head>
>         <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
> </head>

Hey, that solved the problem!  Try:

http://server.milliweb.com/temp/date2.shtml

> Netscape will behave nice and not cache the page. IE (5.0/4.0) ignores
> those META tags so there'll be different results.

Actually it appears to work with IE5 as well, so it isn't being ignored in my
case.  Strange.  Can someone else give it a shot with IE4 or 5?

> BTW don't waste time trying to put all the other "expiration" tags,
> they won't work. The only thing IE cares about is the date returned
> by the server. I tried everything, with no luck. Funny, if you go to
> deja.news and search for SSI cache IE you'll find lots of hits.

Upon looking more closely at the response headers I noticed that the
SSI-generated response included the "last-modified" header, and the direct
servlet response didn't.  I brutally hacked SSIFrame to remove this header
field and this solved the problem in the Netscape case, but caused IE to get
really angry and refuse to show the page at all.  I just had to try...

/Henrik

--
Henrik Kniberg    Netbreeze Computing, Stockholm
                  WWW:    http://www.kniberg.com/henrik/
                  email:  henrik@kniberg.com
                  tel:    +46 8 560 24788
                  mobile: +46 70 492 5284
Received on Saturday, 17 July 1999 07:58:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:29 GMT