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

--- Comment #31 from Mark Bergsma <m...@nedworks.org> 2012-11-07 11:44:50 UTC 
---
(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.

-- 
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