Web Platform APIs
Advanced browser capabilities. Web Workers, Service Workers, offline architecture, IndexedDB, Canvas, WebGL, WebAssembly, and the Animation APIs that enable truly smooth experiences.
Break free from the main thread. Dedicated Workers, SharedWorker, Transferable objects, Comlink, and the patterns that keep your UI at 60fps while crunching heavy data.
True shared memory between threads. Atomics for synchronization, lock-free patterns, why cross-origin isolation exists (Spectre), and when you actually need shared memory over postMessage.
The register-install-activate-fetch lifecycle that controls offline capability, caching, and background processing. Update flows, skipWaiting, clients.claim, and the gotchas that trip up everyone.
Workbox strategies demystified: cache-first, network-first, stale-while-revalidate, precaching, runtime caching, expiration, and background sync. The production-grade toolkit for service worker caching.
Design for no network as the default. Service workers, IndexedDB, background sync, conflict resolution, optimistic UI, and the patterns that make your app work anywhere.
The browser's real database. Object stores, indexes, transactions, versioning, the idb wrapper, storage quotas, and how IndexedDB compares to every other client-side storage option.
The Canvas 2D API from drawing primitives to pixel manipulation, plus OffscreenCanvas for rendering in workers. Charts, image processing, games, and performance patterns for smooth 60fps rendering.
GPU-accelerated rendering in the browser. WebGL's rendering pipeline, shaders, Three.js, and the modern WebGPU API with compute shaders. When to use which, and what just changed in 2026.
Binary instruction format for the web. Compiling C/C++/Rust to WASM, loading modules, JS-WASM interop, linear memory, Emscripten, wasm-bindgen, and the real performance story vs the myths.
CSS animations vs Web Animations API vs scroll-driven animations. Compositor-only properties, WAAPI playback control, ScrollTimeline, ViewTimeline, and building 60fps animations that respect user preferences.
10 real-world scenarios testing your ability to pick the right Web Platform API. Workers, service workers, caching, IndexedDB, Canvas, WebAssembly, animations — prove you know when to use what.