Search squid archive

How to cache Google search result pages?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 27 Dec 2005, Kevin wrote:

> On 12/27/05, Sven wrote:
[...]
> > How can I cache Google search result pages?
>
> Are you sure you want to cache google search results?

Yes, I know its dangers, but I need this for some applications
(fixed order of search hits etc.)

> > Even the following command
[...]
> 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.

1. Query string:
I already replaced
acl QUERY urlpath_regex cgi-bin \?
with
acl QUERY urlpath_regex cgi-bin

2. Cooky:
I suppress all cookies within the HTTP client (web browser).

Is this enough?

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

This might be the problem. How can I override this?

Sven

Attachment: pgp5GtGpHzGfw.pgp
Description: PGP signature


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux