Skip to content

Updated Polyscript to provide out of the box Pyodide cache #2205

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

Merged
merged 2 commits into from
Oct 3, 2024

Conversation

WebReflection
Copy link
Contributor

@WebReflection WebReflection commented Oct 2, 2024

Description

This MR brings in latest Polyscript so that Pyodide automatically caches repeatedly needed packages and the bootstrap dance is overly-improved.

Published on npm as:

Changes

Checklist

  • All tests pass locally
  • I have created / updated documentation for this (if applicable)

@WebReflection
Copy link
Contributor Author

I have published this on npm to hear feedback as there's only one thought that bothers me: we have workers generated at runtime ... is the IndexedDB story in there actually doing what we expect it to do?

Well, users' feedback will tell, but at least on the main thread, Pyodide should bootstrap way faster than before after a second run/refresh of the page.

@WebReflection WebReflection requested a review from ntoll October 2, 2024 14:27
Copy link
Member

@ntoll ntoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@WebReflection WebReflection merged commit 62c78b0 into pyscript:main Oct 3, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants