[Mod_transform] TransformCache directive

Laurence Rowe l at lrowe.co.uk
Thu Jul 31 13:46:06 EDT 2008


The rationale for this directive is to cache the xml parse tree of the
xsl. In my tests this can save about .5 ms per request (more if you
have a complex xsl). I guess it requires the actual file path so that
it can preload it during the configuration phase.

Laurence

2008/7/31 Joan Josep Ordinas Rosa <jordinas at gmail.com>:
> I'm a beginner to mod_transform... I apologize in case I'm asking for
> something obvious.
>
> I can't understand why the TransformCache directive has two arguments.
>
> This is a quotation from the documentation:
>
> TransformCache
> Description:            Cache an XSLT Stylesheet on Server Startup.
> Syntax:                  TransformCache URL FILE_PATH
> Example:               TransformCache /project/myfile.xsl
> /usr/local/share/project/myfile.xsl
>
> I will be glad if some of you could provide the rationale for this directive.
>
> Thanks for your attention in advance.
>
> JJOR
> _______________________________________________
> Download the latest version at http://www.outoforder.cc/projects/apache/mod_transform/
>
> To unsubscribe send an e-mail to
> mod_transform-unsubscribe at lists.outoforder.cc
>


More information about the Mod_transform mailing list