>From what i can tell (which is without benefit of docs, since i can't
seem to find any on caching and AxKit), caching works only for the
finalized document, correct? There's no caching of stylesheets, so that
it doesn't have to be loaded for every page that requires it (assuming
the resulting page is not cached).

So let's say i have an app that goes something like this (much
simplified and left out):

----------------------------------------
# $xml contains dynamic application data
# $xsl contains a dynamically loaded stylesheet

my $stylesheet = $xslt->parse_stylesheet($xsl);
my $results = $stylesheet->transform($xml);

$r->print( $stylesheet->output_string($results) );
----------------------------------------

vs. the Provider::Filter version of

----------------------------------------
$r = $r->filter_register();  # Required
my $stylesheet = 
'<?xml-stylesheet href="/somestyle.xsl" type="text/xsl"?>';

$r->print("$stylesheet\n$xml" );
----------------------------------------

The first i know how to add not only stylesheet caching, but even
stylesheet pre-compilation. Is the same possible with the latter? Or
should i forgoe AxKit for the dynamic XML/XSL, build my own caching and
use AxKit just for static XML/XSL?

thanks,
arne


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to