-
-
Notifications
You must be signed in to change notification settings - Fork 421
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
Streamsaver does not clean up iframes #134
Comments
I tried to clean it up before but for some reason it didn't work so well, backlog: #94 |
Just an idea: Can we somehow tag the iframes with a custom attribute and a timestamp? So that an application can identify these iframes and clean up "old" iframes. I've noticed performance issues if there are more than 100 iframes. Not 100% sure if it's because of this but this is my best guess. |
sure, we could "tag" them with something.
|
Yes, but i would maybe also include a timestamp... just in case so that an automatic cleanup by the application does not kill the current download. |
fyi when native file system gets implemented, then we might not need iframes or service workers :) |
why don't you zip everything? |
yay :-)
It's a timing issue. This would be only possible if all files would be present at the same time. In a long running application this might not be the case :-( |
When using StreamSaver.js in a long living SPA, you see that StreamSaver.js does not cleanup the iframes, thus poluting the DOM.
Repro: Just download and look at the dom :-)
The text was updated successfully, but these errors were encountered: