Page 1 of 1

Improving the performance with COMPRESS_STATE_IN_CLIENT

Posted: 24 Oct 2012, 16:21
by rayfran.rocha
I have trying to improve the performance in the trade of data between the server and client side.

I found a CONTEXT-PARAM that compress the state of objects (data) before sending them from the server to the client side

Code: Select all

<context-param>
     <param-name>org.apache.myfaces.COMPRESS_STATE_IN_CLIENT</param-name> 
     <param-value>true</param-value> 
</context-param>
see more details about this context-param in http://wiki.apache.org/myfaces/Bandwidth

The problem is it uses myfaces. Is it compatible with primefaces? Is there any similar context-param for primefaces?

Thanks for any answer.

Re: Improving the performance with COMPRESS_STATE_IN_CLIENT

Posted: 24 Oct 2012, 16:25
by tandraschko
PrimeFaces is just a component library. So if you use myfaces as jsf impl, it works.