puter icon indicating copy to clipboard operation
puter copied to clipboard

Large files take too much time to download.

Open ECHOlinuxWarrior opened this issue 1 year ago • 2 comments

ECHOlinuxWarrior avatar Sep 26 '24 11:09 ECHOlinuxWarrior

Could you please provide more information on this?

jelveh avatar Oct 05 '24 05:10 jelveh

  1. I uploaded a file to my account, with file sizes ranging from 3 to 5 GB.
  2. When I right-click on the file and select the "Download" button, the file begins processing.
  3. However, after around 10 to 20 minutes of processing, only then does the download actually start in my browser.

The issue is that during the initial processing time, the browser does not provide any feedback or indication that the file is being prepared for download. This leaves the user uncertain about whether the download is proceeding as expected. Ideally, there should be some kind of progress indication during this processing phase before the file starts downloading.

ECHOlinuxWarrior avatar Oct 05 '24 05:10 ECHOlinuxWarrior

@jelveh I think this happens because trigger_download() buffers the response to a Blob and then calls saveAs afterwards. I checked nginx config and the logic of down.js and everything looks like it should be streaming to the client from backend.

KernelDeimos avatar Nov 06 '24 21:11 KernelDeimos

This is fixed now.

jelveh avatar Aug 27 '25 22:08 jelveh