[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XSLT on the server side

Subject: RE: XSLT on the server side
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 2 Sep 2005 19:03:52 +0100
cache compiled xslt
If you want to use Saxon, start by looking at the sample servlet code that
comes with the product. You'll see that it caches compiled stylesheets (but
not source documents or results). You could modify the servlet if you need
to, to do other kinds of caching according to your application requirements.

Michael Kay
http://www.saxonica.com/

> -----Original Message-----
> From: Antsnio Mota [mailto:amsmota@xxxxxxxxx]
> Sent: 02 September 2005 18:42
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  XSLT on the server side
>
> Thanks. But as i'm not a expert on that, that raises me a question.
> The caching of both stylesheets and results of transformations are
> made by who? The processor, like Saxon? Or the web server?
>
> Now, i'm using a XSLTProcessor (in Sarissa) that allow for xslt
> reusability, will it be someone like that?
>
> I'm sorry if this questions are too dumb, but...
>
> On 9/2/05, Jay Bryant <jay@xxxxxxxxxxxx> wrote:
> > > Whatever approach you choose, if you have any signicifant level of
> > > throughput, make sure that you cache compiled stylesheets
> in memory rather
> > > than recompiling them on each request.
> > >
> > > Michael Kay
> > > http://www.saxonica.com/
> > >
> >
> > From the category of experiences worth remembering: When I
> was a contractor
> > at Interleaf (and then an employee at Broadvision), I
> worked on an XML-based
> > document management product (Bladerunner). The system
> stored documents as
> > trees of nodes in a database. We found that users tended to
> request the same
> > documents many times rather than each request being a new
> document. So, we
> > cached the results of each query and the resulting
> transformation and got a
> > significant performance boost (on the order of halving our
> average response)
> > for our trouble.
> >
> > So I suggest you give result caching a try, too. As ever,
> YMMV (maybe your
> > users aren't as repetitive as ours were).
> >
> > Jay Bryant
> > Bryant Communication Services

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.