speedtest
speedtest copied to clipboard
Use compressed file (Ex .zip) to test download speed
I know that librespeed use file garbage.php to create file random.dat . This file is used to test download speed. But I need to replace it by compressed file (Ex .zip,..) to do that. Anyone help me please ?
Why would you need to download a compressed file? It should not matter since it's just for downloading bits to measure the maximum speed. The content doesn't matter.
It needs to be incompressible data, you can't just use a file full of zeros
I think OP was trying to do a "backend-less" installation, using a large file instead of garbage.php. This is technically supported but not really recommended
Just like OP, I am also interested in this. I understand that it makes no sense to use an actual file instead of the garbage.php. However in cases where you want to test the server with a remote mounted file to check how fast it can be served from that server, that would be really useful. In my case I have a gdrive mount in the server, and I am interested how fast can it serve to client side.
@aka-charos You can do it, just set url_dl
to something other than garbage.php
(path relative to speedtest.js).
Keep in mind that the file has to be relatively large (hundreds of megabytes) and incompressible.