Re: [squid-users] How does squid handle http get file splitting?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 23 Mar 2004 09:34:30 +0100 (CET)

On Mon, 22 Mar 2004, Dave Theodore wrote:

> I have an application that does http gets of large files (>500mb) and in
> order to minimize the pain of losing a connection and having to
> reconnect, it requests 1mb file chunks and reassembles them once all
> pieces have been received.

> How does squid handle caching of these file chunks?

Normally it doesn't and these do not get cached.

If the object has already been cached then Squid uses the cached object to
make the chunks, but only if the chunks are well ordered.

> Does it fetch the entire file in order to serve the request for 1mb or
> only request the part of the file being requested by the client?

You can tune this via the range_offset_limit directive.

Regards
Henrik
Received on Tue Mar 23 2004 - 01:34:32 MST

This archive was generated by hypermail pre-2.1.9 : Thu Apr 01 2004 - 12:00:02 MST