Laurent Perez wrote:
If author.xml already exists like the desired xml file, then think
about using a reader instead of generator and serializer.
Is a reader faster than a generator + serializer ?
Yes, because a reader basically copies the contents of the source
verbatim to the response's output stream, whereas generator+serializer
requires to parse the document.
Now if the generator's source is a static file, the difference shouldn't
be negligible except for the first request, as the output of the
serializer will be stored in the cache.
Sylvain
--
Sylvain Wallez Anyware Technologies
http://bluxte.net http://www.anyware-tech.com
Apache Software Foundation Member Research & Technology Director
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]