Performance Is Design
Two apps can fetch the same data in the same time, and one will still feel faster. The difference is what each one shows you while you wait.
What you show during a wait shapes how long it feels. That makes waiting a design problem, and usually a cheaper one to fix than the network.
Press load. Both cards take the same 1.2 seconds.
- Design reviewToday
- Ship OG imagesMon
- Fix Safari overscrollFri
- Design reviewToday
- Ship OG imagesMon
- Fix Safari overscrollFri
The spinner says "please wait". The skeleton shows the shape of what is coming, so your eye already has somewhere to go. Whether that makes the same wait feel shorter is less settled than it looks. A 2018 study found people rated skeleton pages faster, while Viget's test with 136 people found the skeleton felt like the longest wait of the three it tried. What a skeleton does reliably is hold the layout, so nothing jumps when the content lands.
Match the wait
How long a wait can run before it needs feedback, and what kind, is set out in Responsiveness. The short wait is the one people get wrong. A skeleton that lives for 300ms is not reassurance. It is a flash.
- Design reviewToday
- Ship OG imagesMon
- Fix Safari overscrollFri
- Design reviewToday
- Ship OG imagesMon
- Fix Safari overscrollFri
Don't make people watch the round trip
Most actions succeed. When you already know what the result will look like, show it right away and let the request catch up. If it fails, roll it back and say so.
The left list is honest about the network. The right one is honest about the
outcome, which is the part people care about. React ships this pattern as
useOptimistic.
Even the spinner has a speed
When a spinner is the right call, how fast it turns matters. As Emil Kowalski points out, a faster spinner makes the same load feel quicker.
The best loading state
None of this replaces being fast. The best loading state is the one you deleted: cache the data, render it on the server, prefetch on hover. Then the interface gets to do the most confident thing it can, which is to just show the thing.
Resources
Response time limits - Jakob Nielsen's 0.1, 1 and 10 second thresholds, and what feedback each one needs.
Skeleton Screens 101 - When a skeleton beats a spinner, and why neither belongs on a load under a second.
You don't need animations - Emil Kowalski on speed and frequency, including the faster spinner that makes the same load feel quicker.
useOptimistic - React's hook for showing the result of an action before the server confirms it.
Performance is not a technical problem - Shu Ding on why apps keep getting slower, after about 400 performance pull requests at Vercel.