Improving the performance with COMPRESS_STATE_IN_CLIENT

UI Components for JSF
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: 3979
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.
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 22 guests