Project

Profile

Help

Support #4626

closed

Caching of XSLT with s9api

Added by Emilien THOMAS almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
s9api API
Sprint/Milestone:
-
Start date:
2020-06-30
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

Hi Saxonica team,

We are facing poor performances during our performance tests, which are caused by the disk storage of the XSLT files. So we are considering setting up a caching façade. From my understanding of the Saxon documentation, one XsltExecutable instance holds a complete compiled XSLT, including imports and includes. So when an imported (common/utility) XSLT is changed, the whole cache should be flushed.

Is this correct?

Best Regards, Emilien

Actions #1

Updated by Michael Kay almost 4 years ago

Yes, that's correct. (Technically, you don't need to flush the whole cache, only the XsltExecutables affected by the change to an included/imported module).

If you want to be smarter, consider using XSLT 3.0 packages in place of include/import, and then you can do independent compilation into XsltPackage objects.

Actions #2

Updated by Michael Kay over 3 years ago

  • Status changed from New to Closed

Please register to edit this issue

Also available in: Atom PDF