Re: [RFC] Automating "private cache" mode in Squid

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Tue, 13 Aug 2013 16:01:23 -0600

On 08/07/2013 01:23 AM, Henrik Nordström wrote:
> ons 2013-08-07 klockan 16:51 +1200 skrev Amos Jeffries:
>
>> My previous thoughts around this have all revolved around the idea of
>> adding the clients IP address to the cache key when private proxy mode
>> is enabled. This has a major issue though in that it does not solve
>> anything for users with multiple devices (and thus multiple IPs) or even
>> devices using IPv4/IPv6 interchangeably (and thus multiple IPs even for
>> localhost traffic).
>
> the urltag approach used in squid-2 could be used here as general
> mechanism. It allows http_port or external_acl to add a piece to the
> object key.
>
> This allows splitting cache based on
> - port received on
> - username
> - arbitrary group of IP addresses
> - anything else that you can come up with in an external acl

Can Store ID be used for this? If the Store ID helper has access to
receiving port, user name, IP addresses, etc, the helper can manipulate
the store key as needed without any Squid modifications, right?

Cheers,

Alex.
Received on Tue Aug 13 2013 - 22:01:32 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 14 2013 - 12:00:17 MDT