Re: [squid-users] disallow caching based on agent

From: alexus <alexus_at_gmail.com>
Date: Tue, 26 Oct 2010 16:34:52 -0400

On Mon, Oct 25, 2010 at 6:38 PM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
> On Mon, 25 Oct 2010 12:38:49 -0400, alexus <alexus_at_gmail.com> wrote:
>> is there a way to disallow serving of pages based on browser (agent)?
>> I'm getting a lot of these:
>>
>> XX.XX.XX.XX - - [25/Oct/2010:16:37:44 +0000] "GET
>> http://www.google.com/gwt/x? HTTP/1.1" 200 2232 "-"
>> "SAMSUNG-SGH-E250/1.0 Profile/MIDP-2.0 Configuration/CLDC-1.1
>> UP.Browser/6.2.3.3.c.1.101 (GUI) MMP/2.0 (compatible;
>> Googlebot-Mobile/2.1; +http://www.google.com/bot.html)"
>> TCP_MISS:DIRECT
>
> Of course. you may...
>
> http://www.squid-cache.org/Doc/config/cache
>
> Although you need to be aware that preventing one object caching operates
> by removing records to it after the transaction has finished. The effect of
> doing this which you can expect is that a visit by GoogleBot will empty
> your cache of most content.
>
> Amos
>

I'm not sure what do you mean by that, it seems like I dont know how
but my SQUID gets hit by different bots and I was thinking to somehow
disallow access to them, so they dont hit me as hard... maybe it's a
stupid way of dealing with things...

-- 
http://alexus.org/
Received on Tue Oct 26 2010 - 20:34:59 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 27 2010 - 12:00:05 MDT