perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <gyo...@laserlink.net>
Subject RE: no_cache(1)
Date Wed, 06 Sep 2000 17:34:39 GMT
> -----Original Message-----
> From: Salvador Ortiz Garcia [mailto:sog@msg.com.mx]
> Sent: Wednesday, September 06, 2000 1:24 PM
> To: Geoffrey Young
> Cc: dev@perl.apache.org
> Subject: Re: no_cache(1)
> 
> 
> 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
> default.
> 
> 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.

cool beans - I actually had the redirects involved with the handling of
ErrorDocuments in mind, which sounds as if it's a non-issue, then...

thanks for clearing that up...

--Geoff


> 
> 
> Salvador Ortiz
> 
> 

Mime
View raw message