Skip to content

Commit 94a04f0

Browse files
authored
remove network level caching for i18n service (#23058)
1 parent 2338f85 commit 94a04f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/lib/server/i18n.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export async function loadTranslations(_locale: string, _ns: string) {
3333
const response = await fetchWithTimeout(
3434
url,
3535
{
36-
cache: process.env.NODE_ENV === "production" ? "force-cache" : "no-store",
36+
cache: "no-store",
3737
},
3838
process.env.NODE_ENV === "development" ? 30000 : 3000
3939
);

0 commit comments

Comments
 (0)