You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by KE Gan <kh...@gmail.com> on 2006/08/01 05:22:48 UTC

Re: Render Tapestry pages into a file

Henri,

I am referring to "Tapestry pages cache". As I understand it, Tapestry cache
the HTML templates after they were first requested. Hence, further
modification of the HTML pages (after it was cached) will not take effect.

Since, the particular HTML templates in my application is submitted (and
modified) by users from time to time, I guess I have to clear the Tapestry
cache in order for them to take effect (after modification).

Setting "no cache" on Tapestry is not desired as there are still many other
HTML pages that belong to the web application (that is not user-submitted)
and needed to be cached for performance reason. So I am looking for a way to
clear cache for specific HTML pages (is this possible?), IF approach like
RenderBuilder is used.

So is it possible to clear the Tapestry cache for specific pages only ?
Thanks.

~KEGan


On 8/1/06, Henri Dupre <he...@gmail.com> wrote:

I did an email service that renders pages and sends them by email... It
would be probably possible to tweak the service to render the pages into
files. I mavenized the project and I'll write some tests soon and will host
it somewhere.
I'm not sure about the cache what you mean... What cache are you refererring
to?


> On 7/31/06, KE Gan <kh...@gmail.com> wrote:
> >
> > Jesse, thanks for the fast reply (as always :))
> >
> > If I were to use the ResponseBuilder approach, that means Tapestry will
> > cache the pages. And since the pages are submitted (and modified) by
> users
> > from time to time (as mentioned in earlier post), how can I clear the
> > cache
> > for a specific pages ? Is that possible ?
>
>
> I did an email service that renders pages and sends them by email... It
> would be probably possible to tweak the service to render the pages into
> files. I mavenized the project and I'll write some tests soon and will
> host
> it somewhere.
> I'm not sure about the cache what you mean... What cache are you
> refererring
> to?
>
>
>
> --
> Henri Dupre
> Actualis Center
>
>