RSSAmplifier

nickb.dev · Oct 7, 2024

The hidden nuance of the JavaScript File API

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

Did you know that the files originating from an file input don’t have all their data buffered into memory? Seems intuitive that this is how JS would work, otherwise web sites operating over files would be terribly memory inefficient. 
 Don’t let this efficient File deceive you. If you create one yourself, you’ll soon find that you need to buffer all data into memory. 
 To…

Read on nickb.dev

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.