Re: [squid-users] using wget by one client only

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 10 Oct 2001 12:00:15 +0200

You can always address this at the client, by including the request
headers "Pragma: no-cache" or "Cache-Control: no-cache".

wget has the option --header for adding custom HTTP headers

Lynx has the -reload option which adds the above header.

Regards
Henrik Nordström
Squid Hacker

khiz code wrote:
>
> Hi all
>
> is it possible that i hv one client whose requests are always fetched
> directly from the origin server ( i.e he is never served stale data due
> to squid's refresh patterns)
> however those replies should be cached and served to other clients
>
> the purpose behind doing all this is that i ve one particular client
> which will periodically run something like wget and populate the cache
> other clients will then get fresh data from the cache ..with the cache
> not hving to contact the origin server each time for these clients
>
> i m asking this coz i think that requests made by wget will also be
> treated like normal web requests from other clients . so its quite
> possible that even it might be served stale data so the entire plan of
> running wget periodically to fetch data might not work .. unless ive
> got it all wrong ;-)
>
> thanks
> khizcode
>
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
Received on Wed Oct 10 2001 - 04:08:37 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:39 MST