fastest in-memory cache for XslCompiledTransform
Posted
by rudnev
on Stack Overflow
See other posts from Stack Overflow
or by rudnev
Published on 2009-03-05T18:31:46Z
Indexed on
2010/04/30
15:37 UTC
Read the original article
Hit count: 334
xslcompiledtransform
|xslt
I have a set of xslt stylesheet files. I need to produce the fastest performance of XslConpiledTransform, so i want to make in-memory representation of these stylesheets.
I can load them to in-memory collection as IXpathNavigable on application start, and then load each IXPAthNavigable into singleton XslCompiledTransform on each request. But this works only for styleshhets without xsl:import or xsl:include. (Xsl:import is only for files).
also i can load into cache many instances of XSLCompiledTransform for each template. Is it reasonable?
Are there other ways? What is the best? what are another tips for improving performance MS Xslt processor?
© Stack Overflow or respective owner