This is in the production tag already, but is blocked from going live by an email discussion about what behavior we want to offer users: the current mozilla.com behavior (locale offered is that of the browser) or mozilla-europe behavior (locale offered is that in the URL).
If we never have as many web pages as we do locales, we definitely need to do something to offer those locales to users. Your first two ideas use PHP, which I'd rather not do, since it means more stuff that could break with our caching (we've got several pages that are never supposed to be cached right now, but every once in a while they show up cached). It also means more work maintaining which pages need to be cached and which don't. I'm adding oremj to the CC's to see if IT has any input. What do you think of combining the two options - we provide the locale specified in the URL, and then do js detection, and if the browser's locale is not what is in the URL we display a second button under the first with the other locale? I like your 3rd behavior as a long term idea.
(In reply to comment #4) > Does the netscaler manages .php pages as well ? if not, we can just rename our > download pages index.php instead of index.html so as to get back control on > them and use php only. I don't understand your thoughts here. We currently treat .html files the same way as .php files. There is no difference between the two extensions currently, so changing the extension won't help any.
my thought is that I guess the netscaler also works based on file extension like 'cache .gif files but nor .svg files' for instance, so if .php files can be entirely excluded from the caching system, instead of adding specific http headers to the .html pages we don't want to cache, we could rename their extension as .php.
not caching is a very bad idea - it causes us to really load up our web servers. I agree with Pascal in that we need to make sure caching works as expected, and developers have well defined ways of interacting with the cache. Non-cachable pages are expensive and should be avoided when possible...