Search squid archive

Re: Cache large file in chunks?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 30/04/11 05:08, Henry Yuan wrote:
Hi,

I'm wondering whether the current squid implementation cache large
files in chunks?

No. It caches them as whole files.


Let's say the Squid is downloading a large file A for client 1, when
it just finished transferring say 10% of the file, another client,
Client 2 asked for the same file A. Will Squid start serve Client 2
immediately with the 10% of file A it has or Squid has to wait until
all the parts of file A is downloaded in order to get a cache hit.

Depends on your version of Squid.
Squid-2.6 or 2.7 will start sending client 2 the same file client 1 fetched. Squid 3.x will fetch a new copy in parallel. As soon as one of the two has finished it will start serving client 3,4,5 etc as HITs.


I saw there were some discussions on this page but not sure what is
its status quo.(
http://wiki.squid-cache.org/Features/PartialResponsesCaching)

As documented: Status is "Not started"

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.12
  Beta testers wanted for 3.2.0.7 and 3.1.12.1


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux