Re: [squid-users] cache google pages

From: Henrik Nordstrom <[email protected]>
Date: Wed, 23 Mar 2005 20:47:04 +0100 (CET)

On Wed, 23 Mar 2005, Ferrarese Leopoldo wrote:

> Hi,
> I need to cache the google pages and in the squid.conf I wrote:
> refresh_pattern europe\.google\.com 720 100% 780
> override-lastmod override-expire ignore-reload
> refresh_pattern www\.google\.com 720 100% 780
> override-lastmod override-expire ignore-reload
>
> but i read in the access.log:
> 1111595605.244 318 10.172.69.68 TCP_MISS/200 4150 GET
> http://europe.google.com/search?hl=en&lr=&q=pippo&btnG=Search -
> DIRECT/216.239.59.99 text/html
> 1111595681.970 188 10.172.69.68 TCP_MISS/200 4150 GET
> http://europe.google.com/search?hl=en&lr=&q=pippo&btnG=Search -
> DIRECT/216.239.59.99 text/html
>
> Where did I wrong?

Check your no_cache settings..

You should not needto use any of the override things to cache google, but
you need a min age as the search results are generated on the fly... and
you must not use the default suggested no_cache settings as these blocks
caching of any query pages (? in the URL)

Regards
Henrik
Received on Wed Mar 23 2005 - 12:47:08 MST

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