On 26/2/03 2:23, "Jason Foster" <[EMAIL PROTECTED]> wrote: > <snip/> > > 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.
In theory (a lot of theory) it should trigger the caching as well, so probably the PDF could be cached as it's generated, and then served off the cache straight away... But I still didn't gather enough knowledge on that part to tell you if it really happens or not. Pier