Thanks a lot, Alex! Sure, I'll file a bug report. Best, Tianyin On Wed, Feb 13, 2013 at 10:14 PM, Alex Rousskov <rousskov@xxxxxxxxxxxxxxxxxxxxxxx> wrote: > On 02/13/2013 10:04 PM, Tianyin Xu wrote: > >> Does anyone know the default unit of "icap_preview_size"? It's bytes >> or kilobytes? > > That option is not used. This is a bug so please consider filing a bug > report, but note that the option cannot be implemented as documented > because Squid should not send Preview when the ICAP service did not > request one. > > When an ICAP service requests a Preview, the service will specify the > desired Preview size. If this option is not removed completely, its > documentation should be adjusted to say that this is the maximum Preview > size that overwrites ICAP service preference, but has no effect when the > ICAP service did not request a Preview at all. > > Meanwhile, use icap_preview_enable instead and configure the ICAP > service to request the right preview size. > > > HTH, > > Alex. > -- Tianyin XU, http://cseweb.ucsd.edu/~tixu/