> From: Tsui, Alban [mailto:[EMAIL PROTECTED]] > > I have a pipeline in sitemap for generating svg graphics. > > Everytime a user accesses it, it gets called but is there anyway to cache > the grpahics so that next time, a "cached-file" gets sent instead of going > through the xsp, transform, serializer steps to generate a new one?
Pipeline is cached automatically when every step in the pipeline can be cached. > Or can we generate those files dynamically and get them written to the disc > while serving the image when the pipeline first gets called, then we can > retrieve the file into the piple line next time it is called? Hope I am > clear on my question! Yes, you can come up with something like this, but why if Cocoon already caches all the pipelines automatically (see above)? > Also is it possible to set up a pipeline so that when it is called, cocoon > will clear "certain" cache from the disc/memory? I might need to do that > once per day if I can cache those images... This is also done automatically as soon as pipeline is requested and it's content has been changed. Vadim > I am using the latest release of Cocoon 2.0.1 running on Tomcat 4.0.1. > > Regards > Alban > > This message may contain privileged and/or confidential information. If you > have received this e-mail in error or are not the intended recipient, you > may not use, copy, disseminate or distribute it; do not open any > attachments, delete it immediately from your system and notify the sender > promptly by e-mail that you have done so. Thank you. --------------------------------------------------------------------- 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]>