tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From josé placide <jose.plac...@kaliartis.org>
Subject Re: Cache problem with IE
Date Wed, 14 Mar 2001 23:28:57 GMT
Hello,


Could somebody tell me please,
how can i set HTTP/1.1 instead of 1.0

regards.

----- Original Message -----
From: "Joe Laffey" <joe@laffeycomputer.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Tuesday, March 13, 2001 7:41 PM
Subject: Re: Cache problem with IE


> On Tue, 13 Mar 2001, Zsolt Koppany wrote:
>
> > I do it from a JSP and not from a servlet and the page look like:
> >
> > <%response.setHeader("Cache-Control",
> > "no-cache");response.setHeader("Pragma", "no-cache");%>
>
> OK,
>
> Try telnetting to your box and issue the HTTP command:
>
> GET /<root/relative/path/to/file> HTTP/1.0
>
> (two returns)
>
> Then look at the header (which will be at the top and may scroll off the
> screen). You can also try the HEAD command instead of GET.
>
> You might also try HTTP/1.1 instead of 1.0 and see what the responses are.
> If you get headers like the ones you set ("Pragma: no-cache", etc.) then
> the problem is with the browser not honoring them. In this case try the
> META versions instead. If you do not get those headers than your JSP
> container is not setting the headers for some reason.
>
> When you telnet look also for other headers like max-age and expires. You
> may have your server configured to set these for the file. The browser may
> be using these instead. Turn off Expires for the directory or location in
> question.
>
> Joe Laffey
> LAFFEY Computer Imaging
> St. Louis, MO
> ----------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
>
>


Mime
View raw message