Re: [squid-users] Cache settings per User Agent?

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Tue, 07 Oct 2008 14:11:23 +0200

On tis, 2008-10-07 at 19:12 +0800, howard chen wrote:

> E.g. for a dynamic page,
>
> http://www.example.com/product.php?id=123
>
>
> Normally this page is not cached by Squid as it contains some user
> information such as login name.
>
> However, is it possible to enable caching, if UA = Googlebot or Slurp etc?

Best done by the origin server using the Vary header and Cache-Control:
max-age..

Regards
Henrik

Received on Tue Oct 07 2008 - 12:11:27 MDT

This archive was generated by hypermail 2.2.0 : Tue Oct 07 2008 - 12:00:03 MDT