> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> 
> I am dynamically creating thumbnailed JPEG images through an XSP -->
XSL

XSP! Read below...

> (which creates the SVG) --> svg2jpeg serializer pipeline.  However,
Cocoon
> does not cache the generated images in the filesystem, and since the
original
> images are huge, uncompressed TIFF files, the transformations take a
really
> long time.  I looked at the src for the SVGSerializer and noticed that
the
> implementation for the methods generateKey() and generateValidity()
are
> stubbed out.

And if you read javadoc you will understand that SVGSerializer just
caches these documents *forever*. Unfortunately, your pipeline (I guess)
is not cacheable because XSP you wrote does not implement necessary
methods. Please refer to cacheable.xsp for a sample of cacheable XSP.

http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/webapp/docs/samples/xs
p/cacheable.xsp?rev=1.5&content-type=text/vnd.viewcvs-markup

 
> Is there any way, then, to make Cocoon cache the generated images? And
also,
> does Cocoon cache objects such as images and movie files in memory or
in the
> filesystem? I wasn't quite sure from the documentation in
cocoon.xconf.

Yes.

Vadim


> 
> Thanks.


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to