tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deacon Marcus" <deacon_mar...@wwtech.pl>
Subject RE: . Reloading JSP's
Date Mon, 11 Jun 2001 17:41:34 GMT
Hi,

> -----Original Message-----
> From: Michael Wentzel [mailto:Michael.Wentzel@aswethink.com]
> Sent: Wednesday, July 11, 2001 5:31 PM
> To: 'tomcat-user@jakarta.apache.org'
> Subject: RE: . Reloading JSP's
>
>
> > Try response.setHeader("pragma","no-cache") and
> > response.setHeader("cache-control","no-store") at the top of
> > your .jsps,
> > that will/should prevent browsers and proxies from caching.
>
> This would not be a preferred production solution to the problem
> unless it is absolutely necessary since this is going to remove
> caching of static objects, such as images, and would reduce
> performance on the client-side, but it is a option for debugging
> purposes.
>
> ---
> Michael Wentzel
> Software Developer
> Software As We Think - http://www.aswethink.com

It's file-specific. If you use it with a .jsp, <img>ed gifs are still cached
for example. And yes, it is necessary since you wouldn't want your scripts
getting called once a week for a specified client, would you ? ;>

Greetings, deacon Marcus


Mime
View raw message