Load each namespace only once? #826
Unanswered
wuifdesign
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to return each namespace only once and not on each request? as for example:
the common namespace will be returned on each route change in the props loaded from nextjs. if translations get big it will reduce user experience as it will take time to download the translations (even if they are already loaded anyway).
Respone looking like this on each route change:
if you are on a mobile device and have to load 200kb of translations on each route change the app will feel "slow".
Isn't there a way to cache namespaces locally and only return namespaces from next that are not loaded before?
Beta Was this translation helpful? Give feedback.
All reactions