Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BDDCB4A6E for ; Thu, 7 Jul 2011 14:08:48 +0000 (UTC) Received: (qmail 22291 invoked by uid 500); 7 Jul 2011 14:08:45 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 22109 invoked by uid 500); 7 Jul 2011 14:08:45 -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 22100 invoked by uid 99); 7 Jul 2011 14:08:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jul 2011 14:08:44 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pid@pidster.com designates 74.125.82.43 as permitted sender) Received: from [74.125.82.43] (HELO mail-ww0-f43.google.com) (74.125.82.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jul 2011 14:08:37 +0000 Received: by wwi18 with SMTP id 18so938384wwi.0 for ; Thu, 07 Jul 2011 07:08:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pidster.com; s=google; h=message-id:date:from:organization:user-agent:mime-version:to :subject:references:in-reply-to:x-enigmail-version:openpgp :content-type; bh=734hvto0d5ce4XscTu60sQqLRZcpl/2fp2v0PgGoWhM=; b=UebnVdyRxLpbG9wpgH6HCfh5/Q74lVpoXdgng7fYsXH8HJ7yvy3YDn772rJcqYd9OA yVzhWNFF1o1KY11fWVqQvQkwxMoOjcjZGtC4LPf4wUqMYNND7aECAm619vL4M2lTY1SE zF0P3SQl4ozlXeNs7XfeW7MJiX4yMqVyB5M+k= Received: by 10.227.179.142 with SMTP id bq14mr746241wbb.85.1310047696970; Thu, 07 Jul 2011 07:08:16 -0700 (PDT) Received: from Asura.local ([81.134.125.53]) by mx.google.com with ESMTPS id fy9sm1862937wbb.25.2011.07.07.07.08.14 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 07 Jul 2011 07:08:16 -0700 (PDT) Message-ID: <4E15BDC7.7020605@pidster.com> Date: Thu, 07 Jul 2011 15:08:07 +0100 From: Pid Organization: Pidster Inc User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: URI served from cache References: <13793_1310046887_4E15BAA7_13793_4850_1_FE7C35175EC5DA49BD071C66BA315FBA01101A@wancyexmbx03.ancy.fr.sopra> In-Reply-To: <13793_1310046887_4E15BAA7_13793_4850_1_FE7C35175EC5DA49BD071C66BA315FBA01101A@wancyexmbx03.ancy.fr.sopra> X-Enigmail-Version: 1.2 OpenPGP: id=62590808 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigB189BA5AB6FAD030A4EFB32F" X-Virus-Checked: Checked by ClamAV on apache.org --------------enigB189BA5AB6FAD030A4EFB32F Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 07/07/2011 14:54, Langer Arnaud wrote: > Hi there, >=20 > My question is simple : is it possible to disable the cache of Tomcat ?= > I think I've browsed the entire web about that without finding my answe= r. > As I'm developping a website under Eclipse, I would like to see modific= ations as they are developped but here, when I change an image, for examp= le, it's always given from the Tomcat's cache : I can see, in the Console= of Tomcat, for each page I request, about 20 messages like this one : > {date and hour} DEBUG [http-8080-1] lutece.cache - URI served from cach= e : /PSP/images/logo.png What is 'lutece.cache'? That's not a log message Tomcat would output. > If I modifiy the logo.png, I can't see the new one in my browser, even = if I stop and restart Tomcat, even if I disable my browser's cache... Are you sure that the file is actually being updated? If you're stopping and starting Tomcat then you are terminating the cache (which is in-memory), so it will pick up the new version. Assuming you're using Tomcat's cache and not a third party one. p > I'm using Tomcat 6.0.26 on Windows XP SP3. >=20 > Thanks by advance for any way of answer. >=20 >=20 >=20 > Arnaud LANGER > Division Secteur Public >=20 > Sopra group. >=20 > Armor Plazza > 5 & 7 Impasse Claude Nougaro CS 90314 > 44803 SAINT HERBLAIN CEDEX > Phone : +33 (0)2 40 38 94 27 > alanger@sopragroup.com - www.sopragroup.= com >=20 >=20 > Ce message peut contenir des informations confidentielles dont la divul= gation est =E0 ce titre rigoureusement interdite en l'absence d'autorisat= ion explicite de l'=E9metteur. Dans l'hypoth=E8se o=F9 vous auriez re=E7u= par erreur ce message, merci de le renvoyer =E0 l'=E9metteur et de d=E9t= ruire toute copie. >=20 > P Pensez =E0 l'environnement avant d'imprimer / Before printing, think = about the environment. >=20 >=20 >=20 >=20 --------------enigB189BA5AB6FAD030A4EFB32F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCgAGBQJOFb3MAAoJEGoM2OGpOvr9CcEP/jmDCChgJeSFWOmX8W/gdfK3 SH73L2amT+iAAA9/SZP42BZ3SNJgSUlyS14AfWaaG5r4QxUl30MxKRdLuZ8GiUYK QCu9X10EWSXntq7eOFdkTebN+2+KQt1JgSJFoIuxJFUww6cXKPt2oPdWULClmu3u 4bqswwHUa2lDwWPA2aa3DTTIFNOGuyxl5OARt6IPUdc016drxYfXbfx5Kgc0AMAv qjph7IQ/MjWKXdrmi9tnGVU97qk8UDBN92+FRX9JcWpU+dg/HRPUQXymCNtpFgom n3by2huJiBrrQ1SAu8xNL7DY1ytEp4XZ0TmNDx/9MP6XtgnGLqHKze4oiTy3prZt y3wbd3GvIJSLt/ZiDfzMXJ+axeqAa+TX6shhAl0mUBVh0VBIEcmqANi2+j4Tu48w daTJSSxNkJA9R861bmb+vh3+50y7qrzIRVD9PpJtJ9Yb+9bsiu4AysT/mGFtTuCJ NQkHCG6bPO7A3NacbZMfTleDgfEdkFq5el0RmQY1Eblfx3kXaapGDwKxyFjxWGsX +qzxDsEG41gPNxiLgGhILQU07vl4FfYW30GVgnnexcjUwvPzPHC3XMZnjoS/zbbc r38Pea8ck1eULhEi5WSnCEd47XATUlhHWZlADgvGLQhQfVdZL+eYiclnKAHrQeQO q2RPxcpp/1dN67/Z58Qp =MvEz -----END PGP SIGNATURE----- --------------enigB189BA5AB6FAD030A4EFB32F--