remove network level caching for i18n service (#23058)
This commit is contained in:
1 parent
2338f85dcf
commit
94a04f0dc2
1 file changed
+1
-1
@@ -33,7 +33,7 @@ export async function loadTranslations(_locale: string, _ns: string) {
|
||||
const response = await fetchWithTimeout(
|
||||
url,
|
||||
{
|
||||
cache: process.env.NODE_ENV === "production" ? "force-cache" : "no-store",
|
||||
cache: "no-store",
|
||||
},
|
||||
process.env.NODE_ENV === "development" ? 30000 : 3000
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user