What do you mean when you say "I've got some pages backed by Cayenne"?
What is being provided from the backend? Where is it getting put?

You can expire pages by calling

public void discardPage(String name)

on the request cycle although there may be side effects.

from the javadoc:

/**
* Finds the page and its page recorder, creating the page recorder if
necessary.
* The page recorder is marked for discard regardless of its current state.
*
* <p>This may make the application stateful even if the page recorder does
* not yet exist.
*
* <p>The page recorder will be discarded at the end of the current request
cycle.

Geoff

----- Original Message -----
From: "Neil Clayton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 11, 2002 2:59 PM
Subject: [Tapestry-developer] Cached Page State


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> What kind of caching does Tapestry perform per page?
>
> I've got some pages backed by Cayenne, and when I make changes, those
changes
> do not appear. If I switch browsers, or restart the web container they do
> appear.  Also, they do appear if I set
> - -Dnet.sf.tapestry.disable-caching=true.
>
> Is there a better way to selectively disable caching? Or expire pages?
>
> I've already got
> <meta http-equiv="expires" content="0"/>
> in the head section of the HTML (again, to little effect in terms of this
> particular problem!)
>
> Am I going mad?
> Has computing suddenly got beyond me? [I am beginning to wonder!]
>
> - --
> Regards,
> Neil Clayton
>
> (PS: If you see strange text you don't understand underneath my email,
don't
> worry - it's just my PGP signature)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
>
> iD8DBQE90AwLLXcfQF3yrNoRAjmKAJ0cLhtCS4MHuLJYwnZTPCz0U1S5NgCeNPQi
> n9/j+vGHSVnDWElT3lwKHHU=
> =yS/w
> -----END PGP SIGNATURE-----
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Tapestry-developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/tapestry-developer
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to