How to force page not to be cached in PHP?
<p>I have a page, index.php, that shows information based on a mysql db.  There are forms on it, and the action for the forms is set to a separate page called process.php.  Process.php does all the database CRUD stuff, then uses</p>

<pre><code>header("Location: /webadmin/email/index.php");
</code></pre>

<p>to send the user back to the original page. </p>

<p>This seems to be working fine, except for the fact that the original index page doesn't always reflect the changes made by process.php.  I assume that the page is being cached, because if I do a refresh (Ctrl + F5), the page will show the latest data.</p>

<p>How can I prevent this page from being cached?  I have tried <a href="http://php.net/manual/en/function.header.php" rel="nofollow">what the PHP page for header() says</a>, but it doesn't seem to work.  The Cache-Control and Expires options seem to have no effect at all - the page is still being cached.</p>

<p><strong>Update</strong></p>

<p>Ok, I was partially wrong.  Apparently, the following does work in IE:</p>

<pre><code>&lt;?php header("Cache-Control: no-cache, must-revalidate");
</code></pre>

<p>However, it is definitely NOT working in FF, which is still showing a cached version.  Any ideas on why this is, and how I can make it stop caching?</p>
