Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: bizarre CGI script behaviour

From: gchiu:compkarori at: 7-Jan-2001 20:17

On Sun, 7 Jan 2001 17:39:09 +1100 "Brett Handley" <[brett--codeconscious--com]> wrote:
> Well it is good news in the sense of more information :) > > I've never done CGI but the questions arise... > > Why is the cache calling a CGI and can you suggest to it > not to?
I don't know. I have asked my ISP to investigate. However, it does place a cloud over my plans to run multiple CGI scripts on my web server orchestrated by a cron process running at home.
> Why is the cache unsatisfied by your script so that it > calls it again and > again? >
I suspect that their cache server is faulty.
> Is there a "don't cache me" type output header in CGI? >
In http, there is. It tells the browser not to cache the page, and to fetch it from the server. Browsers are supposed to honour this, but whether cache servers do ...
> If you were doing database inserts with this script it > could be a very > unhappy situation as it stands.
It was pretty unhappy as it was - the scripts were emailing a weather and tv report to a list. I was being mail bombed by my own programs :-( After calling it once this afternoon, the ISP's cache program has tried to call it 20x, and is still trying ... -- Graham Chiu