Articles
Why a Service Worker Matters
Offline-first experiences shine when the network is flaky. A service worker can precache routes and serve them instantly.
- Precaching for core pages
- Runtime caching strategies
- Update lifecycle with
skipWaiting() and clients.claim()
Accessibility Is a Feature
Keyboard navigation, clear focus styles, adequate contrast, and robust semantics benefit everyone.
Use aria-label, skip links, and test with a screen reader.
Search Without a Backend
Client-side search can be blazing fast with a tiny JSON index and a compact ranking model.
On small sites, this avoids complexity while remaining privacy-friendly.