Topic
APIs
5articles about APIs.
Document Picture-in-Picture API: Implementation Guide, Support & Examples
Render HTML, Canvas, and components in floating always-on-top windows using the Document Picture-in-Picture API and live stylesheet replication.
Multi-Tab Synchronization: Consolidating Redundant WebSockets
Use BroadcastChannel and SharedWorker to multiplex multiple tabs through a single WebSocket connection and reduce backend load.
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.