This content has been marked as final.
Show 7 replies
-
1. Re: Disable debug for production deployment
amitev Sep 24, 2009 9:52 PM (in response to oneworld95)<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
lstine Sep 24, 2009 10:07 PM (in response to oneworld95)This is great. Thanks for the info.
-
3. Re: Disable debug for production deployment
oneworld95 Sep 24, 2009 10:10 PM (in response to oneworld95)Wow! Thanks, Adrian. That's what I call a comprehensive answer :)
-
4. Re: Disable debug for production deployment
amitev Sep 25, 2009 8:17 AM (in response to oneworld95)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
oneworld95 Sep 25, 2009 2:28 PM (in response to oneworld95)Thanks again :)
-
6. Re: Disable debug for production deployment
rmrui Jun 9, 2010 3:41 PM (in response to oneworld95)Updating drools worked for me. Thanks!
-
7. Re: Disable debug for production deployment
rmrui Jun 9, 2010 3:42 PM (in response to oneworld95)Sorry, wrong topic.