Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 68987 invoked from network); 9 Sep 2009 12:04:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Sep 2009 12:04:23 -0000 Received: (qmail 2234 invoked by uid 500); 9 Sep 2009 12:04:21 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 2113 invoked by uid 500); 9 Sep 2009 12:04:21 -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 1967 invoked by uid 99); 9 Sep 2009 12:04:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Sep 2009 12:04:20 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [64.18.2.155] (HELO exprod7og101.obsmtp.com) (64.18.2.155) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 09 Sep 2009 12:04:09 +0000 Received: from source ([74.125.92.27]) by exprod7ob101.postini.com ([64.18.6.12]) with SMTP ID DSNKSqeZo09AXmL5h/Z+9x7zD7tj0WPhAX/Y@postini.com; Wed, 09 Sep 2009 05:03:49 PDT Received: by qw-out-2122.google.com with SMTP id 9so1089826qwb.1 for ; Wed, 09 Sep 2009 05:03:46 -0700 (PDT) Received: by 10.224.85.74 with SMTP id n10mr49859qal.126.1252497447505; Wed, 09 Sep 2009 04:57:27 -0700 (PDT) Received: from ?192.168.1.21? ([212.241.50.201]) by mx.google.com with ESMTPS id 2sm81448qwi.7.2009.09.09.04.57.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 09 Sep 2009 04:57:26 -0700 (PDT) Message-ID: <4AA79823.5040901@onehippo.com> Date: Wed, 09 Sep 2009 13:57:23 +0200 From: Jeroen Reijn Organization: Hippo User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: using Cocoon for on-the-fly minification? References: <4AA14EAE.5050807@sil.org> <4AA75A60.4090705@onehippo.com> <4AA79403.3080508@sil.org> In-Reply-To: <4AA79403.3080508@sil.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Graag gedaan! :-) I'll see if I can write a nice JSMin based reader on the way home by train today. It should not be that hard to implement. Regards, Jeroen Lars Huttar wrote: > Jeroen, > Dank u wel for looking into this. I look forward to whatever code > examples you can find. > > Re: compressing at build time, please see my reply to Kamal. > > Regards, > Lars > > On 9/9/2009 2:33 AM, Jeroen Reijn wrote: >> Hi Lars, >> >> I've been working with Wilfred on that project, but I'm not really sure >> if I was the guy that wrote the component, which he talks about. However >> I have written something similar about 2 years ago. >> >> The way I implemented it was by creating a reader. This reader then >> reads the js van the filesystem and minifies it on the fly. >> However this is quite nice, but it would be better if you could compress >> it on build time. Next to that the yui compressor comes with it's own >> version if rhino, which might conflict with the one that comes with >> Cocoon. I'll try to find some code example. >> >> Regards, >> >> Jeroen >> >> Lars Huttar wrote: >>> Hello, >>> >>> Has anyone successfully configured Cocoon to do on-the-fly minification >>> of js and/or CSS? > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org