[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tapestry-user
Subject:    [T4.1.3/4.1.4] Get HTML output of request (for caching)?
From:       Kaspar Fischer <fischerk () inf ! ethz ! ch>
Date:       2008-01-19 17:30:32
Message-ID: C89CB8C0-A53F-435E-814C-354E1A0D99FA () inf ! ethz ! ch
[Download RAW message or body]

Hi everybody,

We have rather complex pages that take some time to render and I want to
cache them as HTML files.

For this, I need the output of a (HTML) request from the page service
and store it on disk. When a next request comes, I want to return it
directly.

How can I get hold of the output of a request? Looking at the Tapestry
source, it seems that I need to override DefaultResponseBuilder.java
in some way.

Or are there any hooks by which Tapestry could inform me when the HTML
is rendered? And maybe a way to let me give it a stream to return  
directly?

If not, could somebody outline, very roughly, what needs to be coded?

That would make it much easier for me to get started and come up
with more concrete questions. Of course, I'll share the result here
on the list again.

Many thanks!
Kaspar

--
Kaspar Fischer
kaspar.fischer@baselgovernance.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic