All posts

Performance

What actually makes a web app feel fast

What actually makes a web app feel fast

Teams obsess over load time because it is the number the tools give them. Then they ship a site that loads in 900 milliseconds and still feels sluggish, and nobody can explain why.

The reason is that speed and responsiveness are different problems. Load time is how long until something appears. Responsiveness is how long between a tap and a reaction, every single time after that.

The 200 millisecond rule

Under roughly 100 milliseconds, a reaction feels instant. Between 100 and 300, it feels connected. Past a second, attention starts to wander and people tap again, which usually makes things worse.

The cheapest performance win in most apps is not making the request faster. It is showing something within 100ms of the tap so the wait feels acknowledged.

Three fixes that always pay

Reserve the space before the content arrives

Layout that jumps as images and ads land is read as slowness even when the numbers are good. Set dimensions on everything and the page feels calm.

React to the tap, not to the response

Change the button state immediately. Update the list optimistically and roll back if the server disagrees. The user is watching their own action, not your round trip.

Load what is on screen, then the rest

Almost nothing below the fold needs to be there at first paint. Lazy loading images is the obvious half. The less obvious half is the JavaScript that powers a component nobody has scrolled to.

Fast is a feeling. The numbers are a proxy for it, and sometimes a bad one.

Rezaul Karim

Measure on the phone your users have

Testing on a recent flagship over office fibre will tell you everything is fine. Test on a three-year-old mid-range Android on a throttled connection instead. That is where your traffic actually is, and it is where the problems are honest.

Rezaul Karim

Written by

Rezaul Karim Lead developer

Rezaul builds the back end on most Baodigital projects and has spent the last eight years untangling other people's databases. He is happiest when a page that took nine seconds takes under one.

Got a project that needs this kind of thinking?

Book thirty minutes. We will tell you what it takes, whether or not you build it with us.

Book a call