Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 79905 invoked from network); 6 Oct 2009 17:13:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Oct 2009 17:13:42 -0000 Received: (qmail 23622 invoked by uid 500); 6 Oct 2009 17:13:38 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 23554 invoked by uid 500); 6 Oct 2009 17:13:38 -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 23543 invoked by uid 99); 6 Oct 2009 17:13:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2009 17:13:38 +0000 X-ASF-Spam-Status: No, hits=1.8 required=10.0 tests=MIME_QP_LONG_LINE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [66.219.55.137] (HELO mail.polydyne.com) (66.219.55.137) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2009 17:13:28 +0000 Received: from postoffice.polydyne.com [10.1.1.8] by mail.polydyne.com - Websense Email Security (7.0.0); Tue, 06 Oct 2009 12:13:06 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Expiration date on static content? Date: Tue, 6 Oct 2009 12:10:05 -0500 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Expiration date on static content? Thread-Index: AcpGpv/srNUppRfSQgqmI/n+bmblhAAANbzw References: From: "Jeffrey Janner" To: "Tomcat Users List" X-SEF-7853D99-ADF1-478E-8894-213D316B8FFA: 1 X-SEF-Processed: 7_0_0_00242__2009_10_06_12_13_06 X-Virus-Checked: Checked by ClamAV on apache.org http://onjava.com/pub/a/onjava/2004/03/03/filters.html=0D=0A=0D=0A-----Orig= inal Message-----=0D=0AFrom: pieroxy [mailto:pieroxy@gmail.com]=20=0D=0ASen= t: Tuesday, October 06, 2009 12:03 PM=0D=0ATo: Tomcat Users List=0D=0ASubje= ct: Expiration date on static content=3F=0D=0A=0D=0AHello,=0D=0AI do have a= tomcat working for several years on my production servers,=0D=0Aand I=0D=0A= am trying to optimize a thing or two. I already use the gzip=0D=0Acompressi= on,=0D=0Aand this works very well.=0D=0A=0D=0AHowever, I noticed that all m= y static content is served with no=0D=0Aexpiration=0D=0Adate at all. This d= oesn't tell browsers when to revalidate the static=0D=0Acontent and let the= m decide of the caching policy for my site.=0D=0A=0D=0AIs there a place to = configure something like this on a Tomcat 6.0.20=0D=0Ainstall=3F Is this in= the server.xml or by webapp in a context.xml file=3F=0D=0Aweb.xml=3F=0D=0A=0D= =0AI couldn't figure out a way to do this...=0D=0A=0D=0AThanks for your hel= p=0D=0A=0D=0A******************************* NOTICE *********************= ************=0D=0AThis message is intended for the use of the individual or= entity to which=20=0D=0Ait is addressed and may contain information that i= s privileged,=20=0D=0Aconfidential, and exempt from disclosure under applic= able law. If the=20=0D=0Areader of this message is not the intended recipi= ent or the employee or=20=0D=0Aagent responsible for delivering this messag= e to the intended recipient,=20=0D=0Ayou are hereby notified that any disse= mination, distribution, or copying=20=0D=0Aof this communication is strictl= y prohibited. If you have received this=20=0D=0Acommunication in error, pl= ease notify us immediately by reply or by=20=0D=0Atelephone (call us collec= t at 512-343-9100) and immediately delete this=20=0D=0Amessage and all its = attachments.=0D=0A --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org