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

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 25 Oct 2010 22:38:45 +0000

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
Received on Mon Oct 25 2010 - 22:38:50 MDT

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