> -----Message d'origine----- > De: Argyn Kuketayev [mailto:[EMAIL PROTECTED]] > Date: vendredi 16 août 2002 16:40 > À: '[EMAIL PROTECTED]' > Objet: RE: Can cocoon write pdf to a file? > ... > on the other hand, having the caching configured properly > would probably > solve the problem too.
Wait, this last statement makes it sound like you are only interested in keeping the results cached to reduce load. If that is the case, use cocoon caching - it will automatically keep the result in memory and optionally write it out to disk/database as well. Caching will not keep a .pdf file anywhere - it remembers ("compiles" in docs is misnomer) the byte-stream for reuse if appropriate. I would highly reccomend against attempting to introduce your own file-based caching system when a good one is already in place. Hopefully, that's not what you meant by that. Geoff --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>