Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Pyodide runtime caching? #235

Open
TheLostLambda opened this issue Jul 26, 2023 · 2 comments
Open

Add Pyodide runtime caching? #235

TheLostLambda opened this issue Jul 26, 2023 · 2 comments
Assignees
Labels
web Issues to do with the web GUI

Comments

@TheLostLambda
Copy link
Member

Check the PGFinder package version

/home/tll > curl https://pypi.org/pypi/pgfinder/json | from json | get info.version            07/26/2023 11:37:34 PM
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 13668  100 13668    0     0   117k      0 --:--:-- --:--:-- --:--:--  119k
0.0.3

then clear the cache if the cached version is older!

Otherwise find a way to save the whole loaded Pyodide runtime to local storage like JupyterLite manages?

@TheLostLambda
Copy link
Member Author

Oh, and the point is that this should make startup instantaneous after first load until a new version of PGFinder is released — makes things even quicker!

@TheLostLambda
Copy link
Member Author

Maybe allow for PGFinder version selection: #184

@TheLostLambda TheLostLambda transferred this issue from Mesnage-Org/pgfinder-gui Sep 8, 2023
@TheLostLambda TheLostLambda added the web Issues to do with the web GUI label Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
web Issues to do with the web GUI
Projects
None yet
Development

No branches or pull requests

1 participant