Board index JavaServer Faces General Improving the performance with COMPRESS_STATE_IN_CLIENT

Improving the performance with COMPRESS_STATE_IN_CLIENT

Components, Ajax Framework, Utilities and More.


Posts: 18
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
<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.
Rayfran Rocha - Mojarra 2.1.7 - PrimeFaces 3.1.1 - Eclipse Helios - JDK 1.6 - Maven - Spring 3.0.5 - Hibernate 3.4.5-final

tandraschko PrimeFaces Core Developer

Posts: 2279
Location: Bavaria, DE

PrimeFaces is just a component library. So if you use myfaces as jsf impl, it works.
Always Bet On Prime (+ Extensions)!

PrimeFaces Extensions: https://github.com/primefaces-extensions
OpenWebBeans: http://openwebbeans.apache.org/
DeltaSpike: http://deltaspike.apache.org/
Personal Blog: http://tandraschko.blogspot.de/


Return to General