Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 60451 invoked from network); 17 Aug 2009 15:10:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Aug 2009 15:10:55 -0000 Received: (qmail 17501 invoked by uid 500); 17 Aug 2009 15:10:58 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 17436 invoked by uid 500); 17 Aug 2009 15:10:58 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 17425 invoked by uid 99); 17 Aug 2009 15:10:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2009 15:10:57 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2009 15:10:47 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Md3qs-0002G7-UK for users@tomcat.apache.org; Mon, 17 Aug 2009 08:10:26 -0700 Message-ID: <25008571.post@talk.nabble.com> Date: Mon, 17 Aug 2009 08:10:26 -0700 (PDT) From: Epithemeus To: users@tomcat.apache.org Subject: Re: Any way to make tomcat send the "disable caching" headers on all responses? In-Reply-To: <0C260F619E428642BFA6380177C3ADF305FB676C@exmsea005.us.wamu.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: epithemeus.afterthought@googlemail.com References: <0C260F619E428642BFA6380177C3ADF305FB676C@exmsea005.us.wamu.net> X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I've run into a similar problem with Tomcat 6.0 and am hoping to find some information on why this might be happening. I have an xml file which contains information to display a graph. I also have an HTML file which creates an applet to view the graph. The xml file is updated based on inputs from the user (specified in StartPage.jsp). So, the user gives an input, the xml file is updated and the corresponding graph should be displayed. What is happening in practice is that: the xml file is indeed updated but the graph being displayed is an older version (corresponding to the older .xml file which has now been over-written). I gather that this means tomcat is caching the xml files. I have tried including "cachingAllowed" to false in context.xml. I have also deleted the application_folder under $TOMCAT_HOME\work\Catalina\localhost\. Neither of these options has helped in disabling caching. I would really appreciate any help on how I could get around this! dkarr wrote: > > When I'm debugging javavascript code, it's really annoying when Firefox > caches the javascript file (even when I've modified it). I'm familiar > with the headers for disabling caching, but it's a little more annoying > to emit those headers on javascript files. Unless I'm missing > something, is there an easy way to make Tomcat send the disable cache > headers for all responses, perhaps for a single application? > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > > -- View this message in context: http://www.nabble.com/Any-way-to-make-tomcat-send-the-%22disable-caching%22-headers-on-all-responses--tp16081557p25008571.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org