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

Auto-cache imported scripts #908

Open
jakearchibald opened this issue Jun 3, 2016 · 3 comments
Open

Auto-cache imported scripts #908

jakearchibald opened this issue Jun 3, 2016 · 3 comments

Comments

@jakearchibald
Copy link
Contributor

I'm talkin' ES imports, not importScripts.

In the same way we auto-cache importScripts during service worker install, we should do the same for ES imports.

I imagine this is easier said than done spec-wise, but if modules are in v1, this should be too.

@jakearchibald jakearchibald added this to the Version 1 milestone Jun 3, 2016
@mkruisselbrink
Copy link
Collaborator

Fortunately modules aren't in v1?

@mkruisselbrink
Copy link
Collaborator

But more helpfully, yes, there are a number of issues with the way module service workers are currently specified where don't integrate well with the way module workers are specified in HTML. Caching the module map is only one of those. More in general we'll need to figure out how to deal with update checks and things like that for module workers, as all that algorithm language currently really doesn't make any sense for module workers.

@mkruisselbrink mkruisselbrink modified the milestones: Version 2, Version 1 Jun 3, 2016
@jakearchibald
Copy link
Contributor Author

Stupid progress breaking all our shit. Cool, v2 then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants