https://bugzilla.wikimedia.org/show_bug.cgi?id=41451
Ori Livneh <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #30 from Ori Livneh <[email protected]> 2012-11-07 06:19:13 UTC --- (In reply to comment #29) > For the record: I'm told that with varnish, we could vary on the value of a > given cookie. That would solve the problem. But migration to varnish is at > least 6 months away. > > I think ULS should have an option for working with that kind of varnish setup > efficiently. 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")); } } -- 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 [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
