title: Grails Spring Security caching username
body: <p>i seem to have a small problem with this line of code:</p>
  
  <pre><code>${sec.loggedInUserInfo(field: 'username')}
  </code></pre>
  
  <p>It seems to be caching another user who is logged into the system.The line of code is in all my main html gsp layouts.The weird part is that although its caching,the security side of it still does not take it as the cached name but the actual person logged in which is a good if not great thing. I really need help as to why this is happening.</p>
  
  <p>Thanks </p>