1 No backend
Federico Dossena edited this page 2019-06-30 07:46:28 +02:00

The speedtest can run, albeit with limited functionality, using only a web server as backend, with no PHP or other server-side scripting.

You will be able to run the download and upload test, but no IP, ISP and distance detection, no telemetry and results sharing, and only a single point of test.

To do this, you will need:

  • A replacement for garbage.php: a large incompressible file, like this. We'll call this backend/garbage.dat
  • A replacement for empty.php: an empty file will do. We'll call this backend/empty.dat

Now you need to configure the test to use them. Look for s=new Speedtest() and right below it, put the following:

s.setParameter("url_dl","backend/garbage.dat");
s.setParameter("url_ul","backend/empty.dat");
s.setParameter("url_ping","backend/empty.dat");
s.setParameter("test_order","P_D_U");

This will point to our static files and set the test to only do ping/jitter, download and uplod tests.