Wouldn't this be a great way to pre-generate alternative output formats when a user requests a page. In other words:
- user requests the HTML version of a resource - cocoon returns the HTML resource and generates the PDF version - user requests the PDF version - cocoon returns the PDF version immediately!
A periodic thread to kill any unused pre-generated content (or an age-based cache) and voila!
Just a thought.
Jason Foster