Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 13588 invoked from network); 25 Jan 2001 12:54:31 -0000 Received: from mail.ursus.ru (HELO ursus.ru) (195.96.66.197) by h31.sny.collab.net with SMTP; 25 Jan 2001 12:54:31 -0000 Received: from [195.96.66.194] (HELO anthony) by ursus.ru (Stalker SMTP Server 1.7) with SMTP id S.0000215923; Thu, 25 Jan 2001 15:53:07 +0400 From: "Tagunov Anthony" To: "cocoon-dev@xml.apache.org" , "Robin Green" Cc: "cocoon-dev@xml.apache.org" Date: Thu, 25 Jan 2001 15:56:55 +0300 Reply-To: "Tagunov Anthony" Priority: Normal X-Mailer: PMMail 2000 Professional (2.10.2010) For Windows NT (4.0.1381;6) In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Subject: Re: [C1,C2][feature request][response.setHeader["Expires","Thu, 01 Dec 1994 16:0 Message-Id: X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N On Thu, 25 Jan 2001 12:16:12 -0000, Robin Green wrote: >"Tagunov Anthony" wrote: >>You all look so bussy, but I still would like to try to submit an idea of a >>feature >>that we and maybe lots of other people need badly. >> >>The thing is we have a section >> >> >> >> response.setHeader("Pragma","no-cache"); >> response.setHeader("Cache-Control","no-cache"); >> response.setHeader("Expires","Thu, 01 Dec 1994 16:00:00 GMT"); >> >> >>in half of our xsp pages. (The variety of options there is to make sure >>that as many browsers as possible won't cache our page.) >> >>Maybe some facility for doing this should be provided somewhere? > >Is it really necessary? I was under the impression that not supplying a HTTP >Last-Modified header was enough (but I suppose this is probably not >HTTP-conformant). My experiments clearly and undoubtfully showes that when I have the following set of headers HTTP/1.0 200 OK Date: Thu, 25 Jan 2001 12:43:34 GMT Server: Apache/1.3.14 (Unix) ApacheJServ/1.1.2 mod_perl/1.24_01 mod_ssl/2.7.1 OpenSSL/0.9.5a Servlet-Engine: Tomcat Web Server/3.2 beta 7 (JSP 1.1; Servlet 2.2; Java 1.3.0; Linux 2.2.16-3.db x86; java.vendor=IBM Corporation) Content-Type: text/html; charset=Cp1251 (no LastModified) the caching both with IE 5.00.2314.1003 and IE 5.50.3823.1300 the caching happens! (I'm running under some NT 4.0) >>C1: In the request taglib? In some processor (if we do not want xsp) > >You can already do it in the stylesheet with HTML meta "http-equiv" tags. > Aren't HTTP headers much more reliable? Best regards, Tagunov Anthony