perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Salvador Ortiz Garcia <>
Subject Re: no_cache(1)
Date Wed, 06 Sep 2000 17:24:20 GMT
On Wed, 6 Sep 2000, Geoffrey Young wrote:

> hi all...
> 	should $r->no_cache(1) be setting err_headers_out instead of
> headers_out?

I don't think so.

>  I just noticed that if I set no_cache(1) and return REDIRECT
> the headers do not include the no cache stuff...

HTTP/1.1 states that a REDIRECT (status code 302) isn't cacheable by

In general the client agent SHOULD NOT cache any error response, so a
$r->no_cache(1) is valid only for a direct (without errors) response.

Salvador Ortiz

View raw message