From: Ben C. <bcl...@pe...> - 2005-01-06 09:15:24
|
Yves, James, I can see your reasoning, the page has expired a long time ago! This meta header is used to tell the browser how to cache this document. In this case, cache until 2000-01-01, or don't cache at all. This is the most powerful way we have found of forcing a browser not to cache the CGI. Some browsers (MSIE v4) can be fanatical about caching, which makes life for a CGI coder very hard. Eg, having to add random numbers into every URL, ugh! There would be a large number of web sites which would fail to work if this had other implications. But maybe in the future a more dynamic date should be used. However, to keep an open mind, there is no harm in trying to alter this. Line 365 in perfgraph.c, try a more recent date: Expires: Sat, 01 Jan 2005 01:01:01 GMT It would be interesting to see if this did effect the code? Ben Yves wrote: > Hi :) > > I'm the one who asks questions and has no answer :) > > >>I also took the liberty of trying some of the pages that I'm trying to >>load in the web browser from the command line. >> >># export QUERY_STRING="all_raw=1" >># ./perfparse.cgi >>Expires: Sun, 02 Jan 2000 01:01:01 GMT >>content-type: text/html >> >><HTML> > > ... > > And what about the server refusing to send a page that has already expired ? That page > is more than 5 years ago :) > > Yves > > -- Ben Clewett bcl...@pe... PerfParse http://www.perfparse.org PP FAQ http://wiki.perfparse.org/tiki-list_faqs.php |