Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 4465 invoked from network); 24 Jan 2000 19:43:57 -0000 Received: from dnai-216-15-97-206.cust.dnai.com (HELO kali.betaversion.org) (216.15.97.206) by 63.211.145.10 with SMTP; 24 Jan 2000 19:43:57 -0000 Received: from apache.org(firewall-95.exoffice.com[207.33.160.95]) (2001 bytes) by kali.betaversion.org via smail with P:esmtp/R:internet/T:smtp (sender: ) id for ; Mon, 24 Jan 2000 11:44:02 -0800 (PST) (Smail-3.2.0.106 1999-Mar-31 #3 built 1999-Sep-21) Message-ID: <388CABA6.103D0805@apache.org> Date: Mon, 24 Jan 2000 11:44:38 -0800 From: Pierpaolo Fumagalli Organization: Apache Software Foundation X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Re: Cache References: <388C9EAA.7C767CA9@apache.org> <388CA3D8.9E67D599@Haug.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hannes Haug wrote: > > Pierpaolo Fumagalli wrote: > > > > That's how Cocoon 2.0 cache should work. If all > > producer/formatter/serializer in my construction chain report that their > > bahaviour is not changed since last operation, then the cached content > > is served, > > Or the fast external cache is told that the cached entry is still valid. Uh... yes.. Totally... I wasn't catching your point... Definitely this is something that works. I bet that for checking cache, proxies issue a HEAD command instead of a GET or POST, if they can do it, and in case of HEAD requests, we need to specify that the document wasn't changed. There are three cases: 1) The document need to be generated (generate the whole stuff) 2) The document is cached but not proxied (send content in cache) 3) The document is cached and proxied (just reply that it didn't change) Pier -- -------------------------------------------------------------------- - P I E R - stable structure erected over water to allow the docking of seacraft -------------------------------------------------------------------- - ApacheCON Y2K: Come to the official Apache developers conference - -------------------- --------------------