Hello Ed, We have used a combination of the following scripts on our site: /jim
if ((filemtime("cache/$sidid") + 60) > time()) { $cachefile = fopen("cache/$sidid","r"); fpassthru($cachefile); exit(); } // start buffering the output ob_start(); // output format - either "www" or "file" $output = "outputfile.php"; $data = ob_get_contents(); $fp = fopen ("inputfile.inc", "w"); fwrite($fp, $data); fclose($fp); ob_end_clean(); echo "finished"; -----Original Message----- From: Ed Lazor [mailto:[EMAIL PROTECTED] Sent: den 15 juli 2004 06:20 To: [EMAIL PROTECTED] Subject: [PHP] Dynamic to Static Is anyone taking a dynamic PHP / MySQL site and storing or cacheing it statically in order for pages to display more quickly when visitors access the site? If so, what solutions are you using to achieve this? Thanks, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php