Tag: Performance
5 posts
Posts

Why a service worker serves stale chunks after a deploy
A correct fix looked broken across four rebuilds. The service worker served stale HTML pinning old chunk URLs. Network-first for HTML fixes it.

Upgrading cmdk Search with MiniSearch Field Boosting
cmdk does substring matching. Keeping its UI shell and swapping the filter engine for MiniSearch gives ranked, fuzzy results with match highlighting.

Site Search Without a Server: Static Index and cmdk
A build-time search index and cmdk power Cmd+K search across 47 pages with zero API calls.

Graceful Degradation for Third-Party Embeds
Adding a timeout-based fallback when a Calendly iframe gets blocked by ad blockers or network issues.

Composing React Providers Without the Nesting Nightmare
A functional composition pattern that turns deeply nested provider trees into a flat, readable list. Includes automatic React DevTools display names.