Re: [squid-users] How to cache Google search result pages?

From: Kevin <kkadow@dont-contact.us>
Date: Tue, 27 Dec 2005 02:42:51 -0600

On 12/27/05, Sven.Hartrumpf@fernuni-hagen.de
<Sven.Hartrumpf@fernuni-hagen.de> wrote:
> I have seen an ML discussion about caching Google map data.
> I have a similar problem:
> How can I cache Google search result pages?

Are you sure you want to cache google search results?

> Even the following command
>
> squidclient "http://www.google.de/"
>
> leads always to TCP_MISS in access.log .
> What should I change in squid.conf (2.5.STABLE11),
> which is (almost) the default one?

Google search result URLs include a query string in the URL, and
return a cookie -- both of these will, in a default Squid, cause the
proxy to explicitly choose not to cache the data.

Additionally the google servers mark their pages as uncacheable,
returning a "Cache-Control: private" header.

Kevin
Received on Tue Dec 27 2005 - 01:42:54 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 31 2005 - 12:00:03 MST