You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Svend Raasø <sv...@axiell.com> on 2008/06/02 13:20:25 UTC

Content aggregation / performance

Hello

 

I have a question about the optimal way (in respect of performance) of content aggregation in Cocoon 2.1. In our current system we uses the sitemap aggregator and a xsl-stylesheet to aggregate some xhtml-fragments. The xhtml-fragments are generated in a "plain" xsp/xsl pipelines and some a cacheable (by overriding getKey and getValidity) and some not. I have experimented with cinclude with some success, the aggregation time was almost the half. The problem with cinclude is that it does not properly handle caching and I therefore had to put the caching-key in the fragment URL. In a discussion about deprecating cinclude someone highly recommended the use of IncludeTransformer instead of cinclude. When I tried the performance of IncludeTransformer seems no better than sitemap aggregation. And here comes the question, what is the best way of content aggregation in my situation?

 

Regards Svend


RE: Content aggregation / performance

Posted by Ard Schrijvers <a....@onehippo.com>.
The best way is to make sure all separate parts are properly cached. The
include transformer is really optimal for content aggregation, but won't
be of any help if the part that is included is not properly cacheable

-Ard


	Hello

	 

	I have a question about the optimal way (in respect of
performance) of content aggregation in Cocoon 2.1. In our current system
we uses the sitemap aggregator and a xsl-stylesheet to aggregate some
xhtml-fragments. The xhtml-fragments are generated in a "plain" xsp/xsl
pipelines and some a cacheable (by overriding getKey and getValidity)
and some not. I have experimented with cinclude with some success, the
aggregation time was almost the half. The problem with cinclude is that
it does not properly handle caching and I therefore had to put the
caching-key in the fragment URL. In a discussion about deprecating
cinclude someone highly recommended the use of IncludeTransformer
instead of cinclude. When I tried the performance of IncludeTransformer
seems no better than sitemap aggregation. And here comes the question,
what is the best way of content aggregation in my situation?

	 

	Regards Svend


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