> 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

> --
> -----------------------------------------
> [EMAIL PROTECTED] "There's a moon
> over Bourbon Street
> tonight..."

Reply via email to