in reply to CGI Caching question

I think that one of the other headers you were thinking of was "Pragma: no-cache". You can generate that one with
use CGI qw(:standard); print header(-pragma => 'no-cache');
For more information, you can check out the HTTP specs for 'pragma'.

stephen

Replies are listed 'Best First'.
Re: Re: CGI Caching question
by dws (Chancellor) on Apr 22, 2001 at 10:35 UTC
    I've had better luck with "Cache-control: no-cache". It's the HTTP/1.1 version of "Pragma: no-cache". All of the caching proxies I know of support HTTP/1.1.

    If you're truly paranoid, you can use both.