Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 94011 invoked from network); 10 Oct 2005 18:05:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Oct 2005 18:05:58 -0000 Received: (qmail 40903 invoked by uid 500); 10 Oct 2005 18:05:55 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 40834 invoked by uid 500); 10 Oct 2005 18:05:55 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 40811 invoked by uid 99); 10 Oct 2005 18:05:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 11:05:55 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [68.230.240.38] (HELO eastrmmtao01.cox.net) (68.230.240.38) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 11:05:56 -0700 Received: from [192.168.0.100] (really [70.179.64.83]) by eastrmmtao01.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20051010180518.IAQI13165.eastrmmtao01.cox.net@[192.168.0.100]> for ; Mon, 10 Oct 2005 14:05:18 -0400 Message-ID: <434AAD6B.1020900@reverycodes.com> Date: Mon, 10 Oct 2005 14:05:31 -0400 From: Vadim Gritsenko User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: [QVote] Configurable default for sitemap reloading References: <434A5AA9.8040708@apache.org> <434A6040.1080806@apache.org> <434A67D4.3090704@apache.org> <434A6C46.90002@apache.org> <5DEB29FD-A31F-4706-B0D2-66DF9F6AA8E5@apache.org> In-Reply-To: <5DEB29FD-A31F-4706-B0D2-66DF9F6AA8E5@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Torsten Curdt wrote: > ...or am I really mistaken? JNI calls are always expensive, and in some scenarios (IIRC, on Mac OS X it is *very* expensive to do File.getCanonicalName) it can be even worse. And if you take site of middle complexity, and take into account all sitemap aggregations, XSLT includes, and so on, you can end up with dozens of JNI file system accesses for *each* request. Here, either delayed validity or complete turn off of checking helps a lot. I'm in favor of having both configurable delay for checks, and having an option to turn off checks, per category: * sitemaps * xslt files * xml files, etc Vadim