> > I actually looked into this for squid 2.5 and it turned out that
> > that squid 2.5 always graps just the requested amount when
> > requesting a suffix. It never grabs everything.
>
> Sounds correct.
>
> On suffix ranges Squid-2.5 is supposed to assume the start of the
> range is infinite for the range_offset_limit calcualtion on a cache
> miss. Not sure what happens on a cache hit.
So it turns out that I was wrong in this. When range_offset_limit is -1KB,
Squid just grabs the requested range for suffixes (as I described above).
The same is true when range_offset_limit > 0. However, when
range_offset_limit is -1 bytes (which I was mixing with -1KB before), it
always grabs and caches the whole file, even when a suffix is requested.
So - Squid always grabs just the suffix, except when range_offset_limit is
-1 bytes. I do have a question about this though -- since -1KB isn't
really meaningful, should any negative value for range_offset_limit be
cast to -1 to prevent screw-ups like mine?
Thanks,
Leeann
Received on Wed May 14 2003 - 12:29:57 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:55 MST