trying to suppress zealous caching implemented by IE11 and FF32

if left unchecked it breaks features that rely on location-headers
like changing the locale or logging out.
This commit is contained in:
Sarjuuk
2014-09-17 20:17:53 +02:00
parent 28d5e38408
commit 35ba86d191
9 changed files with 27 additions and 19 deletions

View File

@@ -628,7 +628,7 @@ var PageTemplate = new function()
var menuItem = [
locale.id,
locale.description,
g_host + '?locale=' + locale.id, // sarjuuk: edited for unsupported subdomains # linkBefore + locale.domain + linkAfter
g_host + '/?locale=' + locale.id, // sarjuuk: edited for unsupported subdomains # linkBefore + locale.domain + linkAfter
null, // more custom
{rel: location.href + " domain=" + locale.domain} // also custom
];