panel icon indicating copy to clipboard operation
panel copied to clipboard

Document how to speed up loading times of web assembly apps

Open joelostblom opened this issue 3 years ago • 2 comments

Currently, it takes quite some time to load web assembly apps, e.g. https://joelostblom.github.io/nutrimap/. I am guessing that nothing can be done by the loading of pyodide in the beginning, but maybe some time can be shaved by pre-installing some of the packages somehow? Maybe "Pre-rendering" is related to this https://github.com/holoviz/panel/issues/3940?

And just to be clear, it is amazing that this conversion works so well in the first and that it is so easy to create an app that can run without Python!

joelostblom avatar Mar 02 '23 17:03 joelostblom

Another thought here, maybe there is something that can be done in terms of storing cache/cookies user side with the fully installed environment that can be loaded quickly when the user returns to the page (unless there have been updates on the remote site, so there needs to be some date check to compare the locally stored version versus what is on the static remote site)

joelostblom avatar Mar 21 '23 23:03 joelostblom

Also interested in this. Found a discussion related to this here: https://discourse.holoviz.org/t/caching-pyiodide-and-python-env-for-pwa/4358

bertcoerver avatar Jan 17 '24 09:01 bertcoerver