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

Reply via email to