velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Fedulov <ifedu...@outlook.net>
Subject Re: loading templates
Date Tue, 15 Jan 2002 18:21:15 GMT

> I've had this problem using IE, the browser or proxy sees a URL it's had before and for
speed uses it's cached copy.

If you have IE do this:

Tools->Internet Options->General->Settings->Every visit to the page

annd then hit OK, and you should be good to go, or try to append this to
every JSP/servlet response:
    response.setHeader("Cache-Control", "no-cache, post-check=0,
pre-check=0");
    response.setHeader("Pragma", "no-cache");
    response.setHeader("Expires", "Thu, 01 Dec 1994 16:00:00 GMT");


Best regards,
--
HTTP is a stateless protocol, and the Internet is a stateless development
environment
--
Igor Fedulov
E-mail : ifedulov@outlook.net
Work Ph: 773.775.1595
Home Ph: 773.281.8938
Cell Ph: 773.580.5935




--
To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>


Mime
View raw message