mikeal / dropub

P2P publishing for everyone.
https://dropub.com
219 stars 26 forks source link

The download page takes some time to show me the files #5

Open imvetri opened 7 years ago

imvetri commented 7 years ago

Hi,

Great work there. I tried out and it is easy peasy 👍 .

Here is one thing I noticed. After drag-drop files and generating the magnet link, I opened the link in the new tab and there was some delay in the page to open.

I understand that there might be some handshakes happening underneath, but some kind of progress notification to user may help.

mikeal commented 7 years ago

Ya, there's a few different loading stages. We could update the user with each stage:

  1. Download bundle.js & interpret (big ass javascript file).
  2. Connect to trackers and see if any peers are connected.
  3. Get torrent info (now we can show the files, before this we don't know what they are).