The header Cache-Control = "no-cache" disables caching of all objects in the page, including images. Although it disables proxy server caching, it significantly degrades performs as it causes images to be retrieved for every page request.
The header Cache-Control = "private" works better because it disables proxy caching, but enables the browser to handle caching of images. When the Expires = 0 header is used with the private cache-control header, only the page is retrieved from the server, and the images are cached locally. References: http://www.ietf.org/rfc/rfc2616.txt , section 14.9 private Indicates that all or part of the response message is intended for a single user and MUST NOT be cached by a shared cache. This allows an origin server to state that the specified parts of the response are intended for only one user and are not a valid response for requests by other users. A private (non-shared) cache MAY cache the response. -----Original Message----- From: Paul Spencer [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 9:44 AM To: Jetspeed Users List Subject: Re: Who generated a portal page? Please, help! Sergei, See the JR.p parameter http.lifetime on controlling the cache. I have found the some proxy server do not use META tags, thus we set the cache control in the header. Bellow is from JR.p ######################################### # HTTP Page header # ######################################### # http.lifetime is the lifetime of the page as set in the # HTTP Headers # -1 = Do not set cache related headers (Jetspeed 1.3a1 behavior) # 0 = set the following http headers # Cache-Control = "no-cache" # Last-Modified = (current time) # Pragma = "no-cache" # Expires = "0" # n where n is the number of seconds: # Cache-Control = "max-age: n" where n is the number of seconds # Last-Modified = (current time) # Expires = (current time + n seconds) http.lifetime=0 Paul Spencer Sergei O. Naumov wrote: > On Wed, 23 Jan 2002 19:07:23 +0100 > Santiago Gala <[EMAIL PROTECTED]> wrote: > > > >>>This is precisely what I want but... I edited vm/layouts/html/default.vm >>>and it affected only the page that gets displayed BEFORE a user logs in. >>>After a user logs in it still shows a page without my changes. So, I wondered >>>if this gets generated from an another template which I could not find. >>> >>> >>Which version are you running? With current CVS (or a recent build) it >> > > 1.3a2. > > >>looks impossible. So maybe we have a new bug. Also, check if you >>restarted. It could be some funny caching issue with the session. >> > > The funny thing is that it started working. Probably it really was a caching > problem. The whole reason I need it is to add a <Meta> tag to force a browser > Mozilla or IE to switch encoding to UTF-8. For some reason, adding it to does > not make it switch - I always have to do it manually. Is there any other way > I can do it? > > Sergei > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>