Re: [OT] Re: URL as UI
Re: [OT] Re: URL as UI
- Subject: Re: [OT] Re: URL as UI
- From: email@hidden (Anjo Krank)
- Date: Thu, 21 Aug 2003 23:39:14 +0200
- Xx-reply-to: email@hidden
Hi Jonathan,
Am Donnerstag, 21.08.03, um 23:19 Uhr (Europe/Berlin) schrieb Jonathan
Rochkind:
Hmm, I didn't anticipate any problems with re-awakening and sleeping
pages. There ought to be some way around that. But you've tried it,
and I haven't, so I believe you.
By all means don't. I don4t really recall the problems I stumbled into,
so it may well be that you will succeed.
Obviously if you could avoid having to open your own seperate cache,
that woudl be a large improvement.
Sure. Because the responses can get very large (but you can store them
in the file system), and *if* you get a solution, it would be pretty
transparent to use in favor of the current one.
Alternately... to manage your own cache better and avoid memory leaks,
you could cache the contextID, and remove the WOResponse from the
cache when the contextID that generated it is removed from the session
page cache. Except this won't work, cause there's no way to know when
a contextID is removed from a page cache. That's something I've
needed on several occasions, and been unable to find a way to do. Hmm.
That was one of the problems: you need to keep a reference to the
pages, but you have no way real of knowing when the fall out of the
cache. You could probably just keep count of the number of entries for
each session and kick out the oldest ones, but that was more work than
I was willing to do at that time.
I dimly remember what would be needed is a means to check out the
context from the session's page cache instead of just the page.
Anyway, just go ahead and I'd love it if you could share your solution
with the list:)
Cheers, Anjo
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.