jsf application performance improvement tips -
how improve performance of jsf myfaces based application ?
some tips have collected far
trinidad
- set following init parameters false in web.xml
- org.apache.myfaces.trinidad.debug_javascript
- org.apache.myfaces.trinidad.disable_content_compression
- org.apache.myfaces.trinidad.check_file_modification
- use client-side state saving
- clear pageflow context map when not in use
myfaces
- set following init parameters false in web.xml
- org.apache.myfaces.compress_state_in_session
- org.apache.myfaces.serialize_state_in_session
- org.apache.myfaces.pretty_html
- org.apache.myfaces.validate
- reduce value of org.apache.myfaces.number_of_views_in_session init param (default 20)
facelets
- set following init parameters false in web.xml
- facelets.development
- facelets.skip_comments
- set facelets.buffer_size , com.sun.faces.responsebuffersize large value 10000000
- set facelets.refresh_period -1
is there else add ?
came across following link. useful if you're using adf based (now myfaces trinidad) implementation.
http://download.oracle.com/docs/cd/b31017_01/web.1013/b28967/web_getstarted006.htm
Comments
Post a Comment