httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Stoddard" <b...@wstoddard.com>
Subject Re: mod_proxy Cache-Control: no-cache=<directive> support Apache1.3
Date Wed, 06 Mar 2002 19:48:53 GMT

> Bill Stoddard wrote:
>
> > Haven't thought this through, but there is at least one complicated case to consider
and
> > handle correctly.  If the backend is chunking a response back to the proxy and that
> > response exceeds the size the proxy is allowed to cache, then the proxy would need
to
> > abort the caching, send the partial cached file, cleanup that file, then continue
reading
> > from the backend. And would we want to make this behaviour configurable? Are there
> > practicle (non-contrived) cases where it is unacceptable to defer sending bytes
to the
> > client?
>
> In the default design (I dunno if this has been changed) only responses
> with content-lengths were able to be cached for this reason.
>
> Regards,
> Graham

mod_disk_cache does not require knowledge of content length. In principle, do you think
this is a problem for a proxy cache provided we can gracefully detect and handle cases
where cache thresholds are being exceeded? What does squid and apache 1.3 do?

Bill

> --
> -----------------------------------------
> minfrin@sharp.fm "There's a moon
> over Bourbon Street
> tonight..."


Mime
View raw message