Open joelostblom opened 1 year ago
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)
Also interested in this. Found a discussion related to this here: https://discourse.holoviz.org/t/caching-pyiodide-and-python-env-for-pwa/4358
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!