I build my downloader on a laptop with a fast connection, but most of my visitors do not. They open the site on a phone, on a mobile network in Pakistan, often on 3G or a weak 4G signal that drops in and out. So the performance test that matters to me is not the one on my desk. It is the one on a cheap Android phone, on mobile data, in a place where the signal is barely there.

Here is how I actually test. I take a mid-range Android phone — not a flagship, the kind of phone most people carry — and I switch off Wi-Fi. Then I open the site fresh, with the browser cache cleared, and I time what matters: how long until I can see the page, how long until I can paste a link, and how long until the download button works. I am not measuring the full page load. I am measuring time-to-first-download, because that is the only number a visitor cares about. If the page looks finished but the button does nothing, the site has failed, however fast the report says it loaded.

The first thing this test taught me was to cut weight. The homepage sits under 100KB. There are no webfonts and no frameworks on the tool pages — just plain HTML, a small CSS file, and vanilla JavaScript. Every kilobyte I remove is a fraction of a second on a slow connection, and on a bad connection those fractions add up to the difference between a visitor staying and a visitor leaving. I check the weight after every change, because a new feature has a habit of dragging a library in with it, and a library nobody notices on broadband is a wall on 3G.

The second lesson was about what loads first. The link box and the download button come before everything else. The guides, the footer, and the images on the guide pages — all of that can wait. Images on guide pages are lazy-loaded, and the tool pages carry no images at all. If the network stalls halfway through, the visitor still has a working tool. That is a deliberate choice: I would rather show a plain page that works than a pretty page that is still loading.

The third lesson was the one I did not expect. On a flaky connection, the network fails in the middle of a request, not just at the start. A visitor pastes a link, taps download, and the resolve call times out. So the site has to handle that honestly. There is a timeout on the provider call, and when it fires, the page says so in plain words and offers a retry. It never spins forever, and it never pretends the video is coming. The same thinking shaped the service worker: it only caches successful pages, and it skips requests that are not part of the site at all, so a bad cache can never trap a visitor on old code.

I also test the bad moments on purpose. I load the page, then I switch the phone to aeroplane mode mid-resolve and watch what happens. I paste a link with a line break in it, because that is what copying from an app actually produces. I test on desktop Chrome too, but only after the phone test passes — desktop is the easy case, and passing the easy case proves nothing.

None of this shows up in a synthetic speed score. A lab test runs on a fast server in a data centre, on a connection my visitors will never have. My phone on mobile data is the lab. When a change passes there — page usable in a few seconds, tool working, honest error when the network drops — I ship it. When it does not, I go back and cut something, even if the thing I cut looked good on my laptop.

The site I keep testing this way is ramrom.io, and the habit is the same every time I change anything: test it on the worst connection I can find, not the best. If it works there, it works everywhere.