Hi Currently, for each application of our project, we preload the data actually needed and before the main js execution we use something like <script async type="text/javascript" src="../data/data-chrmaarten-default-motions.js"></script> to request the data. But we are trying to build a platform that all the application could be run on it which mean we need to preload all the data for each application (about 400 MB) which seems a big workload at the startup. I search online and there are several options like
https://hacks.mozilla.org/2015/02/synchronous-execution-and-filesystem-access-in-emscripten/ https://github.com/kripken/emscripten/issues/2047 https://github.com/kripken/emscripten/issues/416 What is the best way to do the dynamic data loading? Thanks! -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
