Search squid archive

Re: Quick question about squid serving images

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

 



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


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

  Powered by Linux