title: Debugging cache in Rails?
body: <p>After logging in with facebook (with devise and omniauth), I'm having an issue that I think might be a cache issue.</p>
  
  <p>These are the steps that make it happen:</p>
  
  <ul>
  <li>Log out</li>
  <li>Go to /about</li>
  <li>Go to /, login, and get redirected to /</li>
  <li>Go to /about</li>
  </ul>
  
  <p>At this point, the page shows as if I were not logged in. Then, if I reload the page with f5, it shows as if I were logged in (sometimes I have to press f5 a lot of times. Ctrl + f5 won't help)</p>
  
  <p>I'm not sure how to debug this. It might be just the browser cache (I'm using firefox, in ubuntu), but even then, shouldn't my application be in control of that?</p>
  
  <p>Any ideas on how to debug this?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Ok this is only getting weirder. Now if I keep pressing f5, it randomly shows me as logged in or not logged in. This can't be a cache issue.</p>
  
  <p>I don't know if this matters, but I'm using mongoid_session_store-rails3.</p>