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
This archive was generated by hypermail pre-2.1.9 : Thu Nov 01 2007 - 13:00:00 MDT