Search squid archive

Re: Cookie problem

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

 



mån 2007-05-28 klockan 14:57 +0200 skrev Ludovit Koren:

> The caches work ok. The problem is when a client requests a page where
> a cookie is set. When all the pages are served using the same parent
> cache it works correctly. When the parent cache changes I get an error
> message that the cookie is not valid (it is coming from another
> IP). It does not matter if I am using any options on the cache_peer
> configuration line (I used round-robin and sourcehash).

The only forwarding mechanism where this works is sourcehash, but you
must then disable everything else (ICP, Digest, HTCP, ICMP), and parent
cache hit ratio will suffer.

As a mid-approach you can build a blacklist of broken sites which
assumes the IP will remain unchanged for a complete browsing session and
send these to a set of cache_peer using sourcehash..  (might be the same
peers but with different names..). See cache_peer_access for how to
select what gets sent to which peers, and the name option to cache_peer
for specifying the same peer multiple times with different options.

Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


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

  Powered by Linux