From dev-return-103570-apmail-cocoon-dev-archive=cocoon.apache.org@cocoon.apache.org Wed May 2 13:34:51 2012 Return-Path: X-Original-To: apmail-cocoon-dev-archive@www.apache.org Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 16184C479 for ; Wed, 2 May 2012 13:34:51 +0000 (UTC) Received: (qmail 58141 invoked by uid 500); 2 May 2012 13:34:50 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 58079 invoked by uid 500); 2 May 2012 13:34:50 -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 58071 invoked by uid 99); 2 May 2012 13:34:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2012 13:34:50 +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 scherler@gmail.com designates 209.85.214.51 as permitted sender) Received: from [209.85.214.51] (HELO mail-bk0-f51.google.com) (209.85.214.51) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2012 13:34:43 +0000 Received: by bkcjg15 with SMTP id jg15so537618bkc.24 for ; Wed, 02 May 2012 06:34:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=BNeaSF6AMqRN62aSLxeP0nLpBJNGT+UJGVzcqq15PyI=; b=SpGYW3fltLsD8PBU1F39UcnYl1Imwb5j0MUYQUSJS8X+2dP3z7bBVQKodkL6cB0BjS rT4JmnABhONXR644Feu6LGorYUskf1bmRrB3bYso7uDmviRupMihUVAJsJx7HWvlYCk0 TVb25JlvrfQUthgTnVsgy1iTH8eTDBclEOVsHvwgafK6HeIq7gWP0XqN+hVCp1uDRnsx uPsoQaWZEfCr/ymistwIDcEZZzzY/DUP7upizF39345r+PkOgjUa3sfYtNOrkDUM1hy1 TjtDINxRnahJNHiDaTDP70hbsnSQj5Hkt9KxZ3/KJT+2K/zEhMYWt7azsAGnfCgexLbR MkJA== Received: by 10.204.141.25 with SMTP id k25mr9266688bku.72.1335965662906; Wed, 02 May 2012 06:34:22 -0700 (PDT) Received: from [10.0.0.17] (94.168.216.87.static.jazztel.es. [87.216.168.94]) by mx.google.com with ESMTPS id n17sm3897473bkw.5.2012.05.02.06.34.21 (version=SSLv3 cipher=OTHER); Wed, 02 May 2012 06:34:22 -0700 (PDT) Message-ID: <4FA137DC.7050104@gmail.com> Date: Wed, 02 May 2012 15:34:20 +0200 From: Thorsten Scherler User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120410 Thunderbird/11.0.1 MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: c3 caching References: <4FA1103A.3030805@gmail.com> In-Reply-To: <4FA1103A.3030805@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 05/02/2012 12:45 PM, Thorsten Scherler wrote: > Hi all, > > I am trying to implement caching in our app. Since most of the > components of c3 are not cache-able yet we are trying to use > "expires". However to be forced to set a "expires-cache-key" is a > complete show stopper, since it forces us to nearly put each match in > a pipeline tag. > > Further wildcard matches are not possible to cache this way since the > "expires-cache-key" needs to contain the wildcard to be unique, > otherwise you will get the first cached doc. > > Any thoughts on it? I mean is fine but if I need Then expires/xxx will return the same as expires/666 in case the latest come in the expire range. What is the c3 way to configure caching? salu2 -- Thorsten Scherler codeBusters S.L. - web based systems http://www.codebusters.es/