Engineering Blog

Engineering: Advanced Edge & Service Worker Caching

Achieving totally offline static initializations without backend connectivity.

PWA Parity

Duplex utilizes a Service Worker caching layer constructed via workbox. The primary vendor bundle and structural CSS are explicitly cached in the Cache Storage API.

When a user navigates to `duplex.ai`, the Service Worker intercepts the request and instantly hydrates the VDOM from the localized cache, completely ignoring network latency. This is the bedrock of achieving offline-first desktop parity.