Gabrielle,
I think the main advantage of using application view cache is that state
saving/view root caching is done once for a particular page
within an application (that only applies to pages displayed in response
to a GET request).
Since we have seen some issues with the current implementation, I would
vote for not supporting application view cache
in Trinidad 2. Partial state saving should make its benefits much less
tangible. If there is demand for this feature in the future,
we can revisit it and try to address the issues we have seen.
Max
Gabrielle Crawford wrote:
Hi,
I'm working on state saving issues in Trinidad 2 (for JSF 2). I'm just
wondering if we really want to support application view cache going
forward.
The application view cache has some limitations that make me wonder
how commonly it's used, see the doc under "The Application View Cache"
http://myfaces.apache.org/trinidad/trinidad-1_2/devguide/configuration.html
Maybe more importantly, I'm not sure, but I think the reason it exists
is to avoid rerunning the tags? Is rerunning tags as much of an issue
with facelets? If not, maybe we should just say to move to facelets in
2.0.
Thanks,
Gabrielle