note 24422 deleted from function.clearstatcache by erica
| From: | erica@php.net | Date: | Fri, 06 Sep 2002 06:48:39 +0000 |
| Subject: | note 24422 deleted from function.clearstatcache by erica | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-36224@lists.php.net to get a copy of this message | ||
Use this to clear most of the browsers' cache:
<?
// Date in the past.
HEADER("Expires: Mon, 1 Jul 2000 01:00:00 GMT");
// always modified.
HEADER("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
// HTTP/1.1
HEADER("Cache-Control: no-store, no-cache, must-revalidate");
HEADER("Cache-Control: post-check=0, pre-check=0", false);
// HTTP/1.0
HEADER("Pragma: no-cache");
?>
However, previous loaded image files displayed to screen are not cleared on consecutive reloads
after an update using a FORM POST.
Experimentation is further needed using available technologies. Please submit any postive results to
me for documentation.