Has anyone used this and found it helpful?
For dynamically generated pages, yes, but is there any advantage for static pages that 
happen to be PHP?

>From a good caching tutorial at:
http://www.mnot.net/cache_docs/#IMP-SCRIPT

The header cited:
<code>
<?php
  Header("Cache-Control: must-revalidate");

  $offset = 60 * 60 * 24 * 3;
  $ExpireString = "Expires: " . gmdate("D, d M Y H:i:s", time() + $offset) . " GMT";
  Header($ExpireString);
?>
</code>

Thanks!
Stephen


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to