Generating static pages on the server - caching problem

From: Date: Fri, 03 Jan 2003 16:40:32 +0000
Subject: Generating static pages on the server - caching problem
Groups: php.install 
Request: Send a blank email to php-install+get-9526@lists.php.net to get a copy of this message
I am generating static HTML pages from a PHP script that forms the content based on a database query. One problem is that old page gets cached. For instance, if I write, http://localhost/index.php, from a PHP script called http://localhost/generateindex.php, when I call the URL http://localhost, I get the old content. When I call the URL explicitly http://localhost/index.php, I get the updated information. I think this has something to do with the way that Apache is serving up the cached pages but not sure where to start looking. Is there a module directive that I should look into. I have not tried this on my production server which is running FreeBSD with Apache. I am seeing this on my testing site which is running Apache on top of Win XP Pro. Any ideas? Thanks, Jeff ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jeff Wallman Tibetan Buddhist Resource Center at the Rubin Cultural Trust 115 5th Ave, 7th Floor New York, NY 10003 212-780-2280 | 212-780-2005 (direct) jwallman@tbrc.org | http://www.tbrc.org ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

« previous php.install (#9526) next »