Topic
Performance
23articles about Performance.
modulepreload and Import Maps in Production: Architecture, Specifiers, and Performance
How import maps resolve bare specifiers and modulepreload cuts request waterfalls in production — native ES modules with zero bundler lock-in.
Multi-Tab Synchronization: Consolidating Redundant WebSockets
Use BroadcastChannel and SharedWorker to multiplex multiple tabs through a single WebSocket connection and reduce backend load.
Speculation Rules API: Zero-Latency Navigation Without an SPA Router
The Speculation Rules API lets MPAs prerender the next page before the click, avoiding the bundle cost and hydration overhead of client routers.
CompressionStream API: Replace pako and zlib.js with Native GZIP
Replace heavy JavaScript compression libraries with the browser's native CompressionStream API to compress data payloads directly on the client.
The Compute Pressure API: Adaptive UIs based on CPU load
Use the Compute Pressure API and PressureObserver to detect system load and reduce client workloads before thermal throttling degrades performance.
Replacing WebSockets with Server-Sent Events over HTTP/3
Evaluate when Server-Sent Events (SSE) over HTTP/3 is the ideal default for real-time applications, and when WebSockets remain the right choice.
Core Web Vitals in 2026: What Actually Moves Rankings
Core Web Vitals reference for 2026: CrUX field data, LCP critical paths, INP attribution with LoAF, and search ranking consequences.
OPFS: High-Performance Local File Storage for WASM, SQLite & AI in the Browser
How the Origin Private File System (OPFS) works: synchronous worker APIs, SQLite WASM integration, and bypassing IndexedDB serialization overhead.
HTTP 103 Early Hints: Preloading Resources During Server Think-Time
How HTTP 103 Early Hints (RFC 8297) works in practice: browser behavior, measurable LCP impact, Nginx and CDN configuration, and CSP interaction.
scheduler.yield() and Prioritized Task Scheduling
How scheduler.yield() and Prioritized Task Scheduling improve main-thread responsiveness — covering Chromium internals and production task yields.
SVCB and HTTPS DNS Records (RFC 9460)
Understand how RFC 9460 defines SVCB and HTTPS records, covering AliasMode, ServiceMode, DNS resolution, ECH, and production deployment practices.
CSS @property: Registration, Type Validation, and Animation in Production
CSS @property mechanics: computed-value validation, animation interpolation, inheritance costs, and PostCSS/Sass build pipeline interactions.