title: Significance of FACELETS_BUFFER_SIZE?
body: <p>I'm working on a pretty big JSF application using Mojarra 2.1.13 and Primefaces 3.5. Recently I had an issue of getting <code>java.lang.IllegalStateException: Cannot create a session after the response has been committed</code> exception. I cleared it by increasing the <code>FACELETS_BUFFER_SIZE</code> by using <code>context-param</code> in my <code>web.xml</code>. Evenlthough I am not getting that exception anymore I have some questions regarding that:</p>
  
  <ol>
  <li>How significant is the <code>FACELETS_BUFFER_SIZE</code> setting in a JSF app?</li>
  <li>Does it affect the performance of the app (I want to avoid any<br>
  surprises/issues regarding this) Are there any advantages and disadvantages performance-wise?</li>
  <li>What happens if it's set to more/less than my application's<br>
  requirement?</li>
  <li>How do I find the optimal <code>FACELETS_BUFFER_SIZE</code>
  for my application?                                                    </li>
  </ol>