Menu

1 / 2

Don't silently show outdated information (Web HIG tip #21)

DEV Community: html·FrozonFreak·10 days ago
#oECPfP1O
#devto2#devto#dev#refresh#stale
Long article (1005 words) — no AI summary yet.
Reading 0:00
15s threshold

Someone opens example.com/orders at lunch and sees "12 open orders." The figure came from an earlier fetch. There is no time, no stale label, and no way to refresh. They start following up with customers whose orders already shipped this morning.

Web HIG tip #21 (Quick #36): Stale data must be labeled or refreshed — do not silently show outdated information.

Why it matters

A number with no freshness cue looks current even when it is not:

People can act on a total, a stock level, or a status that has already changed

A background refetch that never tells anyone it failed leaves the old figure looking authoritative

Clearing the page to a blank or a spinner while a refresh is in flight can be worse than showing the last known data with a label

"It feels live" is not a freshness state. The interface has to say, or it has to update

Quick #36 is Quick-only guidance (no rule ID of its own). §4.3, Data Freshness & Stale States requires dashboards and data-heavy views to handle explicit freshness states.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.