RE: [PHP] Dynamic to Static

2004-07-15 Thread Robert Sossomon
>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? I looked at doing it, wrote a single PHP-page that when I accessed would make stati

Re: [PHP] Dynamic to Static

2004-07-15 Thread Mirek Novak
Hi, Ed Lazor wrote: 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 I'm using two-way or two-step caching - I'll try to desc

Re: [PHP] Dynamic to Static

2004-07-14 Thread raditha dissanayake
Ed Lazor wrote: 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? The best example of this that I have seen is in the mediawiki software

RE: [PHP] Dynamic to Static

2004-07-14 Thread Edwards Jim
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"