June 28, 2026

Cache me outside, how ’bout that

You might not need a service worker

Maybe that fancy offline trick is more trouble than it’s worth, and the comments are split

TLDR: Jay Freestone argues most websites can skip service workers and rely on simpler browser caching instead, because the fancy setup can backfire badly. Commenters are split between people scarred by old breakages and others insisting the feature is still worth it for powerful behind-the-scenes tricks and offline use.

A quiet web-tool debate just turned into a mini civil war, with developer Jay Freestone basically saying: hold on, maybe you don’t need a service worker — the browser feature once hyped as the magic fix for speed and offline use. His big argument is deliciously simple: for many apps, ordinary browser caching already does the boring-but-important job just fine, while service workers can become the stuff of nightmares when they go wrong. Think users stuck on an old broken version for days while everyone panics and ships an emergency fix. Yes, really.

And the comments? Instantly more interesting than the original premise. One camp was like, “See! This is why people tried these in 2019 and ripped them out in terror.” The vibe is very haunted house built out of stale files. But then came the loyal defenders. One commenter dropped a surprisingly slick use case: using a service worker as a behind-the-scenes helper that quietly adds login proof, refreshes expired access, and retries failed requests so the page looks normal while the messy security stuff happens backstage. Another commenter basically spoke for the dreamers: offline support is awesome, everybody wants it, and almost nobody enjoys building it.

That’s where the drama lands: one side says these tools are overengineered traps for most websites, while the other says they’re still the only way to unlock the truly magical stuff. The joke underneath it all? Service workers weren’t canceled — they just became the feature everyone loves until they have to debug it.

Key Points

  • The article argues that many service-worker use cases can be handled more simply with standard HTTP caching and asset management.
  • Freestone cites early service-worker failures where bad cache strategies served stale apps and made recovery slow because updates depended on the broken worker.
  • Using Slack as an example, the article says service workers can enable instant boot, but repeated asset downloads can often already be avoided with content hashing and immutable cache headers.
  • The article distinguishes ordinary asset caching from true offline support, arguing that the latter is the main reason to consider a service worker.
  • For deploy-skew problems that cause old bundles to request missing assets, Freestone suggests keeping old content-hashed assets available for a grace period instead of caching the full app in a service worker.

Hottest takes

"tried one in 2019 and removed it" — jakelazaroff
"adds the authorization header and handles token refreshes ... under the hood" — jakelazaroff
"I like offline support ... But, it is a hard problem" — cheema33
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.