Andreas,

this issue has appeared several times on the list and I agree that it
would improve the performance a lot in many cases. We simply haven't
reached a satisfactory conclusion as to how to deal with the cache. One
problem is that Sablotron may often be just a component of a larger
system - wouldn't it be reasonable to provide hooks to let the system do
the caching? If not, should the cache be processor-instance-specific or
global? Should caching be transparent for the user or rather performed
on demand?

I feel that it would be best to discuss these questions on this list
first before we start to implement the cache. Any ideas will be most
appreciated.

Tom Kaiser


Andreas Jung wrote:
> 
> Dear all,
> 
> when we are talking about Sablotron performance we should
> take a look at the most important feature for getting more
> performance - that is caching. We need a possibility
> to parse a XSLT sheet only once when processing several
> XML files with the same sheet. We are using XSLT sheets
> with a size of about 350 KB and they take pretty long
> very time to reparse - especially when you need to process
> about 5000 files day by day with the same style sheet !
> 
> Cheers
> Andreas


Reply via email to