This content has been marked as final.
Show 7 replies
-
1. Re: Disable debug for production deployment
Adrian Mitev Sep 24, 2009 9:52 PM (in response to Alex Cougarman)<context-param> <param-name>facelets.DEVELOPMENT</param-name> <param-value>false</param-value> </context-param>
Disables facelets debug page
<context-param> <param-name>facelets.REFRESH_PERIOD</param-name> <param-value>-1</param-value> </context-param>
Stops facelets from scanning the xhtml's for changes
<context-param> <param-name>com.sun.faces.responseBufferSize</param-name> <param-value>100000</param-value> </context-param> <context-param> <param-name>facelets.BUFFER_SIZE</param-name> <param-value>100000</param-value> </context-param>
Increase buffers so the entire response is sent at once (some people say this could increase the performance).
<context-param> <param-name>com.sun.faces.externalizeJavaScript</param-name> <param-value>true</param-value> </context-param>
Allows the browser to cache jsf's javascript
<context-param> <param-name>com.sun.faces.sendPoweredByHeader</param-name> <param-value>false</param-value> </context-param>
Saves a little traffic caused by powered-by header
-
2. Re: Disable debug for production deployment
lance stine Sep 24, 2009 10:07 PM (in response to Alex Cougarman)This is great. Thanks for the info.
-
3. Re: Disable debug for production deployment
Alex Cougarman Sep 24, 2009 10:10 PM (in response to Alex Cougarman)Wow! Thanks, Adrian. That's what I call a comprehensive answer :)
-
4. Re: Disable debug for production deployment
Adrian Mitev Sep 25, 2009 8:17 AM (in response to Alex Cougarman)Also turn off the seam filters (in components.xml) you don't use:
<web:logging-filter disabled="true" />
-
5. Re: Disable debug for production deployment
Alex Cougarman Sep 25, 2009 2:28 PM (in response to Alex Cougarman)Thanks again :)
-
6. Re: Disable debug for production deployment
Rui Santos Jun 9, 2010 3:41 PM (in response to Alex Cougarman)Updating drools worked for me. Thanks!
-
7. Re: Disable debug for production deployment
Rui Santos Jun 9, 2010 3:42 PM (in response to Alex Cougarman)Sorry, wrong topic.