title: How to clear cache in Controller CakePHP 2.x?
body: <p>I am working a properties website where user creates the listing and later to save it, we ask him to connect via Facebook. Currently it is working nice but, when I create another property (say a User did not login) and later I just go back to that page of creating property and later connect via facebook then.. it does log the user in but, does not create the property..
  I tried various things and later I figured out that once I clear browser cache, it is creating the properties.</p>
  
  <p>So, my question is, how to clear cache in browser using CakePHP 2.x?</p>
  
  <p>Also, I have tried:</p>
  
  <p>Pure HTML :</p>
  
  <pre><code>&lt;meta http-equiv='cache-control' content='no-cache'&gt;
  &lt;meta http-equiv='expires' content='0'&gt;
  &lt;meta http-equiv='pragma' content='no-cache'&gt;
  </code></pre>
  
  <p>however, it did not help. Is there a way to do it via CakePHP itself? or is it Facebook thing which needs to be addressed?</p>
  
  <p>Please advise.</p>
  
  <p>PS: <code>clearCache() does not work</code> I don't know why.</p>