cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pier Fumagalli <>
Subject Re: Subrequesting the sitemap with the flow...
Date Wed, 26 Feb 2003 02:45:26 GMT
On 26/2/03 2:23, "Jason Foster" <> 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.


View raw message