matts 2003/01/29 05:38:46
Modified: lib/Apache/AxKit/Language LibXSLT.pm Log: allow: PerlSetVar AxDisableXSLTStylesheetCache 1 Revision Changes Path 1.17 +4 -2 xml-axkit/lib/Apache/AxKit/Language/LibXSLT.pm Index: LibXSLT.pm =================================================================== RCS file: /home/cvs/xml-axkit/lib/Apache/AxKit/Language/LibXSLT.pm,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- LibXSLT.pm 29 Jan 2003 01:35:50 -0000 1.16 +++ LibXSLT.pm 29 Jan 2003 13:38:46 -0000 1.17 @@ -108,8 +108,10 @@ $stylesheet = XML::LibXSLT->parse_stylesheet($style_doc); - $style_cache{$style->key()} = + unless ($r->dir_config('AxDisableXSLTStylesheetCache') { + $style_cache{$style->key()} = { style => $stylesheet, mtime => time, depends => [ get_depends() ] }; + } } # get request form/querystring parameters