We just shipped support for the ugliest part of HTTP: Vary
Thread
Unofficial Hacker News client; not affiliated with Y Combinator.
We just shipped support for the ugliest part of HTTP: Vary
Unofficial Hacker News client; not affiliated with Y Combinator.
charcircuit · · focus · HN ↗
tancop · · focus · HN ↗
You do need a UK and US version of your site if you sell things in both countries, but that's usually a region selector where you don't use the HTTP language system. If you did then anyone with their language set to en-US would see the American site even if they live somewhere else.
xxs · · focus · HN ↗
Instead we have google that would serve the pages based off the local ip (and switch any time possible) which is a "horrific" experience travelling through Europe. You get a different language every day. Totally ignoring the accept-language header.
It's even funnier as the roaming would result in having the host mobile network IP regardless where a person resides - still ignoring the lang header, of course.