title: What is the reason to disable csrf in spring boot web application?
body: <p>There are many tutorials where is shown how to disable csrf, </p>
  
  <pre><code>csrf().disable()
  </code></pre>
  
  <p>(and other possibilities like <code>.properties</code>, <code>.yml</code>, etc.)
  but nowhere explained why they do this? </p>
  
  <p>So my questions are: </p>
  
  <p>What is the real-life reason to disable it?<br>
  Is it improves performance?</p>