On Sat, 11 Aug 2001, TomC wrote:
> Hi all,
> is it possbile to refresh the whole cache in non-peak hours by a script:
>
> grep all the url from the accesss_log
> then use a client -r -p 8080 -h host url
>
> Then, the cache will be updated automatically?
Yes, however:
- many origin servers will not like your aggressive fetches
and may block you
- you will request many uncachable objects
- you will reload objects that were cached and fresh
- many reloaded objects will still expire after/while your
script is running
- you will get many errors because your script does not use
custom headers such as authentication that real clients
were using
- this will create a lot of "extra" traffic on the network
- in most cases, Squid's default behavior will be nearly
optimal (or, at least, better than your script)
Alex.
Received on Fri Aug 10 2001 - 22:40:47 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:34 MST