[squid-users] force full download and limit bandwith

Amos Jeffries squid3 at treenet.co.nz
Wed Jan 17 12:13:14 UTC 2018


On 18/01/18 00:41, joseph wrote:
> tks another question related to this
> 
> lets say client start downloading obj   and it reach 50% at the speed 128k
> wen the client  leave or stop downloading the download continue at full
> speed right from that 50% up to the end or it re start from the beginning ??
> its important to understand those mixed combination delay_pools and
> range_offset_limit   if they work as i tough or no tks
> 

Each I/O read() Squid performs in receiving a response is assessed as to 
what buffer free space and pool speeds are affecting it. If a client 
disappears midway the pool(s) that client caused to be applied no longer 
are. So the transaction may speed up if the server and network can do 
more speed.

"range_offset_limit N" only affects the initial starting point for a 
transaction. If a client wants to start reading a range somewhere in the 
first N bytes Squid will request the full file in order to cache it for 
future requests. Otherwise only the range the client wants will be 
requested - and cannot (yet) be cached.

Amos


More information about the squid-users mailing list