Re: SSInclude/caching problem

> 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 UTC