Hi Chuck,

On 05/09/2008, at 10:39 AM, Chuck Hill wrote:

protected void savePageInPageCache(WOComponent aPage)
{
    if (aPage.context().request().requestHandlerKey().equals("wa") {
       super.savePageInPageCache(aPage);
    }
}


I can see a savePage(WOComponent aPage) and a savePageInPermanentCache (WOComponent aPageComponent) in session, but no savePageInPageCache (WOComponent aPage). Im assuming you mean savePageInPermanentCache ?

If so how does it work ? That is from the doco "The permanent page cache is designed to hold components which are frequently accessed." is there only one "copy" of the component within the cache no matter how many times its called ? Otherwise I would have thought you would have run into the same problem i.e. the other part of doco says "Objects can fall out of the permanent page cache if the permanent page cache's size is exceeded."

Or is it just a matter of the DA's being cached in the permantCache while the other pages are going into the normal cache so they frequent AJAX calls to the DA don't effect the cache's of the rest of the pages ?

Owen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to