Skip to content
Discussion options

You must be logged in to vote

Yes.

I'm afraid the ServiceWorker is very much needed in your use case*. That's what allows streaming the archive to the client — as shown in the Service Worker demo —, there will be no need to store anything much in the browser, no matter how big the archive will be in the end. The archive will be generated no faster than the user's filesystem can store it. That's where the archive will be stored : the filesystem. Outside of the browser.

Also there will be no undue latency. The Response is returned immediately when calling downloadZip, without waiting for the contents. The user will see the download being as soon as they click the link. If you can provide enough metadata in the options, …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ThiefMaster
Comment options

Answer selected by Touffy
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants