r/learnjavascript • u/devdev_1 • Sep 19 '26
How you handle sending large files to the backend
hello, to solve this problem in a clean way i started using the JS stream API, mainly because it allows me to compress the files on the frontend without consuming too much RAM on the client side, and i wanted the stream to be sent directly to the server in a single request. this is possible with the fetch body stream but it is not supported by all browsers, so how to do it? do you have any idea? how do others do it?
5
Upvotes
5
u/Astroohhh Sep 20 '26
Define large files
1
u/Ill-Consideration-83 Sep 20 '26
Try filestack
4
u/[deleted] Sep 20 '26
[removed] — view removed comment
1
u/[deleted] Sep 20 '26
[removed] — view removed comment