In JSF the user can choose to save state on the server or the client via the javax.faces.STATE_SAVING_METHOD context parameter. Because this is a global setting that applies to all views in the application, it's not really flexible.
I would like to propose making this more flexible. Ideally the user would have three options for state: none (see
JAVASERVERFACES_SPEC_PUBLIC-1055), client and server and would be able to set this globally, per URL pattern, or per view.
Setting the state saving method on a view would override any setting done per URL pattern, and setting state saving for a URL pattern overrides the global setting.
One step further would be to even allow setting the state saving method per individual component.