Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

preload ssr detected locale

Blue Mouse8512ef894a82
diff --git a/app/root.tsx b/app/root.tsx
index 269eed597..f2efdab34 100644
--- a/app/root.tsx
+++ b/app/root.tsx
@@ -81,6 +81,7 @@ export default function App() {
<meta name='viewport' content='width=device-width,initial-scale=1' />
<Meta />
<Links />
+ <link rel='preload' href={`/locales/${locale}.json`} as='fetch' type='application/json' crossOrigin='anonymous' />
</head>
<body>
<Provider store={store}>