Improving the performance with COMPRESS_STATE_IN_CLIENT

Components, Ajax Framework, Utilities and More.
Post Reply
rayfran.rocha
Posts: 18
Joined: 18 Feb 2012, 14:16

24 Oct 2012, 16:21

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.
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: 3096
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

24 Oct 2012, 16:25

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

Thomas Andraschko
PrimeFaces Developer | PrimeFaces Extensions Founder
Apache OpenWebBeans PMC | Apache DeltaSpike PMC | Apache MyFaces PMC

Personal Blog: http://tandraschko.blogspot.de/

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Bing [Bot], Google [Bot] and 25 guests