Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 74542 invoked from network); 18 Dec 2002 20:39:46 -0000 Received: from exchange.sun.com (HELO nagoya.betaversion.org) (192.18.33.10) by daedalus.apache.org with SMTP; 18 Dec 2002 20:39:45 -0000 Received: (qmail 8004 invoked by uid 97); 18 Dec 2002 20:40:40 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 7975 invoked by uid 97); 18 Dec 2002 20:40:40 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 7960 invoked by uid 98); 18 Dec 2002 20:40:39 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: 18 Dec 2002 20:38:29 -0000 Message-ID: <20021218203829.8363.qmail@webmail7.rediffmail.com> MIME-Version: 1.0 From: "Puneet Agarwal" Reply-To: "Puneet Agarwal" To: tomcat-user@jakarta.apache.org Subject: Fwd: Fw: Re: preventing all caching Content-type: multipart/mixed; boundary="Next_1040243909---0-202.54.124.152-8361" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --Next_1040243909---0-202.54.124.152-8361 Content-type: text/plain; format=flowed Content-Disposition: inline I asked this question many a times in this list. Finally found a solution in Apache Mailing list archive. I wanted to set the expires tag for javascript files, css files and gifs. I still do not know how to achieve this using tomcat alone. But Yes If we are using apache along with tomcat, we can use mod_cache to achieve this. Can anyone comment whether it is possible in tomcat alone or not. Thanks in advance Regards Puneet Note: Forwarded message attached -- Orignal Message -- From: "Puneet Agarwal" To: puneettech@rediffmail.com Subject: Fw: Re: preventing all caching --Next_1040243909---0-202.54.124.152-8361 Content-type: message/rfc822 MIME-Version: 1.0 Message-ID: <20021218203451.69433.qmail@mail.com> Content-Type: multipart/mixed; boundary="----------=_1040243691-46275-1" Content-Transfer-Encoding: binary From: "Puneet Agarwal" To: puneettech@rediffmail.com Subject: Fw: Re: preventing all caching This is a multi-part message in MIME format... ------------=_1040243691-46275-1 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit Note: forwarded message attached. ----- Original Message ----- From: "Puneet Agarwal" Date: Tue, 17 Dec 2002 17:03:41 -0500 To: "Tomcat Users List" Subject: Re: preventing all caching -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup Meet Singles http://corp.mail.com/lavalife ------------=_1040243691-46275-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: binary Return-Path: Delivered-To: puneetapache:techie.com@mail.com Received: (qmail 13991 invoked from network); 17 Dec 2002 22:30:57 -0000 Received: from unknown (HELO spf11.us4.outblaze.com) (205.158.62.43) by 205-158-62-64.outblaze.com with SMTP; 17 Dec 2002 22:30:57 -0000 Received: from spf5.us4.outblaze.com (205-158-62-27.outblaze.com [205.158.62.27]) by spf11.us4.outblaze.com (8.12.5/8.12.5) with ESMTP id gBHMUpQ1012376 for <"puneetapache:techie.com"@mail.com.int>; Tue, 17 Dec 2002 22:30:51 GMT Received: from nagoya.betaversion.org (exchange.sun.com [192.18.33.10]) by spf5.us4.outblaze.com (8.12.6/8.12.6) with SMTP id gBHMUicZ095752 for ; Tue, 17 Dec 2002 22:30:54 GMT Received: (qmail 25431 invoked by uid 97); 17 Dec 2002 22:04:56 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 25419 invoked by uid 98); 17 Dec 2002 22:04:55 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <20021217220341.11972.qmail@mail.com> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) From: "Puneet Agarwal" To: "Tomcat Users List" Date: Tue, 17 Dec 2002 17:03:41 -0500 Subject: Re: preventing all caching X-Originating-Ip: 213.123.223.80 X-Originating-Server: ws1-6.us4.outblaze.com X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I have a similar problem, I guess this can be done by setting the header against particular MIME types in the configuration file of the webserver. But Do not know how to set the particular header tag against some MIME type.
I have asked this to many a people and in this mailing list as well but to no avail. I guess if we search in the mailing archive it may help. I have searched for some initial mails but did not find anything worthwhile. If you find something please let me know as well. Regards Puneet ----- Original Message ----- From: "Hans Goeckel" Date: Tue, 17 Dec 2002 11:27:54 -0500 To: "Tomcat Users List" Subject: preventing all caching > I'm trying to figure out how to prevent caching of any content on a client machine. > > Our servlets properly use the no-cache directive, but other content is still being cached. > > Specifically, those pages we generate use Javascript to load a set of images from the server. The HTTP headers in the response to those GETs don't contain the no-cache directive. I would have thought that adding nocache as a directive to the default settings in web.xml would take care of this, but it seems to have no effect. > > Is there any way to force a nocache directive into all content returned by the server? > > Many thanks for any help. > Hans -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup Meet Singles http://corp.mail.com/lavalife -- To unsubscribe, e-mail: For additional commands, e-mail: ------------=_1040243691-46275-1-- --Next_1040243909---0-202.54.124.152-8361 Content-Type: text/plain; charset=us-ascii -- To unsubscribe, e-mail: For additional commands, e-mail: --Next_1040243909---0-202.54.124.152-8361--