Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 29851 invoked from network); 8 Oct 2003 18:59:43 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 8 Oct 2003 18:59:43 -0000 Received: (qmail 18785 invoked by uid 500); 8 Oct 2003 18:59:23 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 18769 invoked by uid 500); 8 Oct 2003 18:59:23 -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 Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 18756 invoked from network); 8 Oct 2003 18:59:23 -0000 Received: from unknown (HELO host.leverageweb.com) (64.91.232.157) by daedalus.apache.org with SMTP; 8 Oct 2003 18:59:23 -0000 Received: from dhcp205169.hq.af.mil ([134.205.205.169] helo=leverageweb.com) by host.leverageweb.com with asmtp (Exim 3.36 #1) id 1A7JUP-00073t-00 for users@cocoon.apache.org; Wed, 08 Oct 2003 14:56:49 -0400 Message-ID: <3F845E86.6050907@leverageweb.com> Date: Wed, 08 Oct 2003 14:59:18 -0400 From: Geoff Howard User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3.1) Gecko/20030425 X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: svg2png dynamic static generation References: <000101c38dcd$3df69c50$d70614ac@dallas.sil.org> In-Reply-To: <000101c38dcd$3df69c50$d70614ac@dallas.sil.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.leverageweb.com X-AntiAbuse: Original Domain - cocoon.apache.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [0 0] X-AntiAbuse: Sender Address Domain - leverageweb.com X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Lars Huttar wrote: > I'm pretty much a cocoon newbie, but here's what I know: > In your sitemap you can use the resource-exists action to > take different routes through the pipeline depending on the > existence of a file. E.g.: > > > > > > src="picture-{../1}.png" mime-type="image/png" /> > > > > > > >>because serializing svg to png is very slow, is it possible to do >>somehow next: >> >>-> if picture-{id} exists -> map:read src="picture-{id}" >>-> if not -> generate png file from svg and then save it to filesystem >>and then show it. >> >>It would make things much faster. I missed the first part of the question, but did you know that Cocoon is probably already caching these for you? What is your current pipeline like? Geoff --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org