Download button should download from node, not gateway. #2119
Labels
area/screen/files
Issues related to Files screen
effort/hours
Estimated to take one or several hours
exp/intermediate
Prior experience is likely helpful
kind/bug
A bug in existing code (including security flaws)
P0
Critical: Tackled by core team ASAP
status/ready
Ready to be worked
Is your feature request related to a problem? Please describe.
When I download a file browsing my local node it often is slow or times out. This is because it is using the gateway rather than downloading from the node's API. This is annoying because I am on the same network as my node and it would be significantly faster, not even counting slowness in DHT traversal that the gateway needs to do.
The "Public Gateway" configuration on the settings page says
A download isn't generating a sharable link so I don't understand why the public gateway should be used. I would expect it to download directly from the node's API.
Describe the solution you'd like
Downloads in the WebUI should use the API, not the public gateway.
Describe alternatives you've considered
Update the docs to state that the gateway is used both for downloads and generating sharable links. This would at least make the product consistent, but doesn't improve the performance issue.
Additional context
The version at the bottom of the WebUI is 2f9f306.
The text was updated successfully, but these errors were encountered: