Search squid archive

Re: I Want To Ping A Cache Object

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

 



On mån, 2007-10-01 at 04:32 -0700, Solomon Asare wrote:
> Hi All,
> please, how do I tell I have an object in my cache
> without fetching the object. I want a command like: 
> "wget --spider", but where I access only the cache
> without going to the origin server if the object is
> not available in the cache.

This is done using the "Cache-Control: only-if-cached" header.

Example:

wget ... --header="Cache-Control: only-if-cached" url...


Regards
Henrik

Attachment: signature.asc
Description: This is a digitally signed message part


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

  Powered by Linux