antonionavarro04 / Spotify-Gold-API

0 stars 0 forks source link

Instead of saving the file in the server just send the bytes to the client #25

Closed antonionavarro04 closed 8 months ago

antonionavarro04 commented 8 months ago

Maybe it's just faster?

Current problem is that saving the file and then sending it is just too slow, a file of 3 minutes ended up lasting 3 minutes of request.

When a new request is made on the same item then the file will send faster so, it isn't better to just send the file without saving it in the server? In this way we will save time and also storage of the F1 Server

antonionavarro04 commented 8 months ago

Just changed to the same library download service and not the HtmlClient of .net

Now it improved from 4m download to just 5-10 seconds