· @data0
76 followers · 191 posts · Server fosstodon.org

Efficiently downloading huge files via in the in 2023 still seems the same as in 2013: Open a URL with a Content-Disposition header.

is nice but only supported in some derivates and presents challenges.

hacks à la StreamSaver.js seem to be the next best thing. But it's not free of compatibility issues either and with all that ceremony is not the best.

So good 'ol Content-Disposition it is.

#javascript #browser #http #filesystemaccessapi #chromium #ux #serviceworker #dx

Last updated 3 years ago