[squid-users] Re: Delay Pools for Robots

From: Adam Aube <aaube01@dont-contact.us>
Date: Tue, 21 Dec 2004 20:40:26 -0500

Kent, Mr. John (Contractor) wrote:

> Have an image intensive website (satellite weather photos).
> Using Squid as an accelerator.
>
> Want to slow down robots and spiders while basically not
> affecting human users who access the web pages.
>
> Would the following delay_pool parameters be correct for this purpose
> or would other values be better?
>
> delay_pools 1 # 1 delay pools
> delay_class 1 2 # pool 1 is a class 2 pool
> delay_parameters 1 -1/-1 32000/64000

This makes no distinction between robots and normal visitors. For that you
can use the browser acl (which matches on the User-Agent string the client
sends), then use different delay pools for the common browsers and robots.

Adam
Received on Tue Dec 21 2004 - 18:50:12 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:02 MST