|
Thanks David - that was very informative. I can't help but thinking that quite many applications would want to lower the NUMBER_OF_VIEWS_IN_SESSION from the default 20. I mean if the user really visits the same website 20 times and thus sees view 1, 2, ..., 20, what are the chances that he will go back and visit, say, view 4? On many sites I would assume that the chance of that is quite low, which could indicate that a much lower number would be relevant. Suppose you lower the NUMBER_OF_VIEWS_IN_SESSION to, say, 5, there will obviously be a greater chance that the user will revisit a view that is no longer cached, but since the server is supposed to be able to deliver that view pretty fast on his first visit anyway it will of course also be able to deliver the view quite fast on his second visit even though the view is not cached. So why is 20 the default? Randahl David Delbecq wrote: Hi randahl, I recommend you take a look at the JSF lifecycle and more particulary at the 'Restore view' and the 'Render response' part. http://www-128.ibm.com/developerworks/java/library/j-jsf2/#N100A9 |
- Re: NUMBER_OF_VIEWS_IN_SESSION - how long is a view v... David Delbecq
- Re: NUMBER_OF_VIEWS_IN_SESSION - how long is a v... Randahl Fink Isaksen
- Re: NUMBER_OF_VIEWS_IN_SESSION - how long is... David Delbecq
- Re: NUMBER_OF_VIEWS_IN_SESSION - how lon... Simon Kitching
- Re: NUMBER_OF_VIEWS_IN_SESSION - how... David Delbecq

