Re: [squid-users] Quick question about squid serving images

From: Chris Robertson <crobertson_at_gci.net>
Date: Thu, 19 Nov 2009 10:14:26 -0900

Angelo Höngens wrote:
> Run this on your squid machine (example, assuming your squid listens on
> port 80):
>
> squidclient -p 80 -h apacheserver http://domain/image.jpg | head -n 15
>
> Increase or decrease the 'head -n X' value to show all the headers, but
> not to return the binary content.

For future reference, making a HEAD request is probably a better bet...

squidclient -p 80 -h apacheserver -m HEAD http://domain/image.jpg

...as that JUST requests the headers, not the whole object. No need to
filter out unwanted binary data.

Chris
Received on Thu Nov 19 2009 - 19:14:46 MST

This archive was generated by hypermail 2.2.0 : Fri Nov 20 2009 - 12:00:04 MST