Optimizing Large i18n Loading in Blazor
Hello everyone,
I am currently experiencing some performance issues during application startup.
We are using Blazor Wasm and we are loading a large json file with a lot of language keys (about 4.5MB) during startup. The result is obviously a freezing UI while the language keys are loaded (about 2-10 sec depending on the device performance). We have already tried to use local storage as a cache layer, but serialisation still needs to be done.
How do you deal with such a case? I think I am not the only one with a lot of language keys.
I am currently experiencing some performance issues during application startup.
We are using Blazor Wasm and we are loading a large json file with a lot of language keys (about 4.5MB) during startup. The result is obviously a freezing UI while the language keys are loaded (about 2-10 sec depending on the device performance). We have already tried to use local storage as a cache layer, but serialisation still needs to be done.
How do you deal with such a case? I think I am not the only one with a lot of language keys.