[OGo-Developer] click-to-dial & Asterisk
Helge Hess
developer@opengroupware.org
Mon, 10 Dec 2007 13:06:39 +0100
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).
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.
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.
Helge
--
Helge Hess
http://www.helgehess.eu/