Karl Řie wrote:
>
> Hi, I have a very standard pipeline for my project. The file
> "oversikten.xml" is filtered through the stylesheet
> "oversikten.xsl" which uses parameters sent to it to filter/rearrange the
> output.
>
> <map:match pattern="page.html">
> <map:generate src="sources/oversikten.xml"/>
> <map:transform src="oversikten.xsl">
> <map:parameter name="use-request-parameters" value="true"/>
> </map:transform>
> <map:serialize type="html"/>
> </map:match>
>
> The file "oversikten.xml" is about 4mb large, and the site performs quite
> badly. Is there any tips for improving the performance short of splitting
> the file into smaller parts as this I am not allowed to do that.
What are the numbers your are targeting? (i.e. how fast do you need it?)
What kind of hardware are you using?
What are the current numbers you are getting? (i.e. how slow is it now?)
To really help you, we need these questions answered.
If you are using the Caching Pipeline, you should be able to experience better
performance each time you request it. However, if your cache is set too small
to keep the entire XML in memory, the cache will be of no benefit.
How complicated are the XSLT stylesheets? If you are not using global variables
or parameters, that speeds things up.
---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>