Skip to content

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.

1
Web Workers and Multithreading
advanced

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.

18 min read
2
SharedArrayBuffer and Atomics
advanced

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.

16 min read
3
Service Worker Lifecycle
advanced

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.

17 min read
4
Caching Strategies with Workbox
advanced

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.

16 min read
5
Offline-First Architecture
advanced

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.

16 min read
6
IndexedDB and Client Storage
advanced

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.

17 min read
7
Canvas 2D and OffscreenCanvas
advanced

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.

17 min read
8
WebGL and WebGPU Fundamentals
advanced

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.

18 min read
9
WebAssembly Integration
advanced

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.

18 min read
10
Animation Systems: CSS, WAAPI, and Scroll-Driven
advanced

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.

17 min read
11
Quiz: Which API for This?
advanced

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.

12 min read