You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Nicola Ken Barozzi <ni...@apache.org> on 2002/05/30 18:09:29 UTC

Fw: cinclude caching "bug"

Another caching insect.


----- Original Message -----
From: "Ulf Sauerland" <ul...@scopus.de>
To: <co...@xml.apache.org>
Sent: Thursday, May 30, 2002 5:33 PM
Subject: cinclude caching "bug"


> Hello,
>
> there is a well known "bug" in the CachingCIncludeTransformer, which
> prevents the caching algorithm from determining the correct cache validity
> in some (almost every non trivial) cases. This makes the transformer
useless
> in the general practise.
>
> Months ago there was a diskussion about this in the cocoon-dev mailing
list.
> (see:
http://www.mail-archive.com/cocoon-dev@xml.apache.org/msg01501.html )
> But I think the status quo is described at best in the bug database.
> (see: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4641 )
>
> Unfortunately I don't see any other possibilty to cache correctly a
document
> which includes other documents that are possibly outdated: The
map:aggregate
> feature is to inflexible and the XIncludeTransformer provides no caching
at
> all.
>
> My question now is: Does anyone know a workaround (i.e. using a map:action
> to validate the cache) or if it is planned to fix the cinclude transformer
> in the near future.
>
> Thanks for any suggestion on this matter,
> Ulf Sauerland
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: Fw: cinclude caching "bug"

Posted by Ulf Sauerland <ul...@scopus.de>.
>
> Actually, problem lies in Source interface desing not in
> CachingCIncludeTransformer. Recenty Source design has been changed
> and in theory CachingCIncludeTransformer should work properly.
> Unfortunately I don't have time to check it at the moment. If You are
> in need please try current CVS version of Cocoon.
> Maciek Kaminski
> maciejka@tiger.com.pl
>

Thank you!
The CachingCIncludeTransformer works properly not only in theory :)
I tested it (among other) with yout example from
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4641
I think you can close the bug 4641.

Ulf


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: Fw: cinclude caching "bug"

Posted by ma...@tiger.com.pl.
On 30 May 2002 at 18:09, Nicola Ken Barozzi wrote:

> Another caching insect.
> 
> 
> ----- Original Message -----
> From: "Ulf Sauerland" <ul...@scopus.de>
> To: <co...@xml.apache.org>
> Sent: Thursday, May 30, 2002 5:33 PM
> Subject: cinclude caching "bug"
> 
> 
> > Hello,
> >
> > there is a well known "bug" in the CachingCIncludeTransformer, ...
> > ... the status quo is described at best in the bug database.
> > (see: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4641 )
> > ...
> > My question now is: Does anyone know a workaround (i.e. using a map:action
> > to validate the cache) or if it is planned to fix the cinclude transformer
> > in the near future.
> >
> > Thanks for any suggestion on this matter,
> > Ulf Sauerland
> >

Actually, problem lies in Source interface desing not in 
CachingCIncludeTransformer. Recenty Source design has been changed 
and in theory CachingCIncludeTransformer should work properly. 
Unfortunately I don't have time to check it at the moment. If You are 
in need please try current CVS version of Cocoon.  
Maciek Kaminski
maciejka@tiger.com.pl


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org