Closed
Bug 774899
Opened 13 years ago
Closed 13 years ago
[Chrome] Find a way to Vary on Cookie for locale and region
Categories
(Marketplace Graveyard :: Consumer Pages, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
2012-11-08
People
(Reporter: cvan, Assigned: basta)
References
Details
Chrome doesn't respect Vary headers (see bug 766080 - or http://code.google.com/p/chromium/issues/detail?id=79758). This is a problem for us since the locale isn't in the URL anymore. We're instead setting locale and region in cookies, and the pages need to be cached differently based on those.
In Firefox we can use Vary, and everything is peachy. In Chrome we cannot. Here's what andym suggests:
14:07 < andym> etag per language?
Comment 1•13 years ago
|
||
etag for every page for every language?
Assignee | ||
Comment 2•13 years ago
|
||
Does this bug surface on normal page views or is it only on fragment loads? If it's the latter, can't we just add the locale to the query string parameter that we're already passing for Chrome fragment loads?
Updated•13 years ago
|
Assignee: nobody → mattbasta
Assignee | ||
Comment 3•13 years ago
|
||
It's not pretty and it eats a few bytes per request [in Chrome], but it works around their broken Vary support properly.
https://github.com/mozilla/zamboni/commit/b0596842b35656742be580051b97dabb03352dfe
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•13 years ago
|
Target Milestone: --- → 2012-11-08
You need to log in
before you can comment on or make changes to this bug.
Description
•