Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 96958 invoked from network); 20 Jun 2007 11:03:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jun 2007 11:03:05 -0000 Received: (qmail 17077 invoked by uid 500); 20 Jun 2007 11:03:02 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 16973 invoked by uid 500); 20 Jun 2007 11:03:02 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 16919 invoked by uid 99); 20 Jun 2007 11:03:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 04:03:01 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [216.86.168.178] (HELO mxout-03.mxes.net) (216.86.168.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 04:02:56 -0700 Received: from [192.168.1.2] (unknown [87.206.142.101]) by smtp.mxes.net (Postfix) with ESMTP id B12FC5193C for ; Wed, 20 Jun 2007 07:02:33 -0400 (EDT) Message-ID: <4679093C.1030108@apache.org> Date: Wed, 20 Jun 2007 13:02:20 +0200 From: Grzegorz Kossakowski User-Agent: Thunderbird 2.0.0.4 (X11/20070604) MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: About Client side Javascript in Cform References: <46749B80.8090503@erp.tw> <4674AFC5.5080300@weitling.net> <4674B2FD.9050601@erp.tw> <4674F2E1.9050407@weitling.net> <4675B59F.8070505@apache.org> <4675D2F9.2050807@lojjic.net> <467706DD.5070305@apache.org> <20070619081224.GA3516@localhost.localdomain> <46783CFF.7060403@gmx.de> In-Reply-To: <46783CFF.7060403@gmx.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Joerg Heinicke pisze: > On 19.06.2007 10:12, Tobia wrote: > >> In fact I've noticed that the number of client-side javascript files >> (not their complexity or size, so much as their number) referenced to by >> Cocoon forms has a considerable impact on page load time. > > But if set up correctly with the appropriate response headers this > should only happen on the first access. Afterwards the files should be > taken from the browser's cache. Actually they can be cached quite > aggressively. Yes, but it's quite annoying that this first access takes so long. It may make potential user go away, especially when browser freezes. > And that's the point where all the optimizations can even be > counterproductive. Collecting the parts you actually need for the page > and merging them makes them individual for that page (or a group of > pages) and the files need to be retrieved for every actual combination > of them. > > If size and whitespace matter why not just gzipping them? Yes, it's another, valid, point of view. Meanwhile, we could think about making this behaviour (aggressive caching + gzipping) default. -- Grzegorz Kossakowski http://reflectingonthevicissitudes.wordpress.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org