https://bugzilla.wikimedia.org/show_bug.cgi?id=41451

--- Comment #32 from Siebrand <s.mazel...@xs4all.nl> 2012-11-09 09:37:23 UTC ---
(In reply to comment #31)
> (In reply to comment #30)
> 
> > Copy-pasting what I said on wikitech-l:
> > 
> > > I don't know about Squid, but there are all manner of ways you could 
> > > attack
> > > this problem with Varnish. Overriding vcl_hash lets you customize how a 
> > > cache key is constructed from a request. It's usually just hostname + 
> > > URL, 
> > > but you can add any string to the hash:
> > 
> > 
> >     sub vcl_hash {
> >         if (req.http.Cookie ~ "language") {
> >             hash_data(regsub(req.http.Cookie, "^.*(language=[^;]+).*$", 
> > "\1"));
> >         }
> >     }
> 
> You've just broken purging.

Mark, you being the expert here, at least to me knowledge, can you please help
and work towards a solution? From what I can see, your expertise hasn't been
used yet on this issue, except for pointing out what's wrong with proposed
solutions.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to