[OGo-Developer] click-to-dial & Asterisk
Sebastian Reitenbach
developer@opengroupware.org
Mon, 10 Dec 2007 14:18:58 +0100
developer@opengroupware.org wrote:
> On 10.12.2007, at 00:02, Sebastian Reitenbach wrote:
> > But I did not really understood, under what circumstances it
> > would be useful to use or not use a SessionSingleton.
>
>
> Isn't that rather obvious? :-) A cache page preserves its state w/o
> resorting to defaults and such (until the next logout).
yes, I thought sth, like that
>
> Eg if you enter the scheduler page, leave it and reenter it, it still
> shows the last view and the last query etc. This is because the page
> object is still the same, its taken from the persistent page session
> cache.
And with that explanation, I now know what the consequences are, what to
look for.
>
> Its hard to generalize, but I would say that NOT using the page cache
> is preferable. Caching the full page can take quite a bit of memory,
> especially if unnecessary state is not reset in -sleep.
Well, the -sleep, -awake, ... stuff I also not yet understood, but at least
I understand, that it is not recommended to use the page cache.
thanks
Sebastian
>
> Helge
> --
> Helge Hess
> http://www.helgehess.eu/
> --
> OpenGroupware.org Developer
> developer@opengroupware.org
> http://mail.opengroupware.org/mailman/listinfo/developer
>