FOX reported 135 Tbps of CDN capacity for its 2025 Super Bowl stream. That number shows how much delivery infrastructure sits behind a browser tab that simply “works.”
Some of the same building blocks power smaller real-time apps. Chat tools, trading dashboards, cloud games and live video players combine them in different ways. This guide explains the core technologies, where they break, and how teams troubleshoot them on phones, home Wi-Fi and smart TVs.
The Four Building Blocks of a Real-Time Web App
A modern HTML5 app may combine four layers.
WebSockets keep a persistent connection open between the browser and the server. Messages move both ways without a new HTTP request each time. Basic WebSocket framing adds 2 to 14 bytes per frame, before transport and encryption overhead.
WebRTC handles real-time media and data. It generally favors UDP for media, avoiding TCP’s ordered-delivery delays when packets are lost. Restrictive networks can require a relayed TCP or TLS connection instead.
CDN caching places reusable files near the user. JavaScript bundles, fonts and images can load from an edge node rather than the origin. HTML needs a caching policy that accounts for updates and personalization.
Adaptive bitrate streaming splits video into segments at several quality levels. The player selects a level for the connection. HLS and DASH are widely used formats, and compatible CMAF packaging can let them share media files.
Each layer solves a different problem. Teams should measure the complete session rather than assume one optimization fixes everything.
Browser Gaming as a Worked Example
Browser gaming brings several of these layers together. A lobby can load cached assets from a CDN, while a persistent connection carries game updates. Live video adds another delivery path, with its own buffering and quality controls.
Chess platforms such as Lichess and cloud services like Xbox Cloud Gaming rely on that same mix of cached front ends and live connections. Live dealer tables are a close relative, pairing a video stream with a separate channel for player actions. Many offshore casinos serving US players now run entirely in the mobile browser, with no app download, so see the current picks for examples. In those lobbies, a responsive interface and a smooth stream need attention separately, since a button can react immediately even when the video is buffered behind the action.
Testing should measure both control responsiveness and end-to-end video delay. The engineering problem resembles live streaming at a smaller scale, but the latency target depends on the interaction. Low-Latency HLS reduces delay while retaining HTTP delivery at scale. WebRTC supports real-time interaction, although achieved latency still depends on encoding, routing and buffering. Neither approach guarantees a fixed delay across every device and connection.
Why Does a Web App Feel Slow on 5G?
5G can deliver high throughput, but bandwidth alone does not guarantee a responsive app. Latency, packet loss and server processing also matter.
A phone moving between cells can experience changing radio conditions and interruptions. Messages may arrive late or in bursts. A connection may recover, but a network change can also require the app to reconnect.
Three measures help. Application-level heartbeats detect an unresponsive connection. Reconnect logic with exponential backoff and jitter spreads retries. Sequence numbers and state resynchronization help the client recover updates missed during an interruption.
Choose heartbeat intervals against measured infrastructure timeouts and battery costs rather than treating 15 to 30 seconds as a universal rule. NATs, proxies and load balancers can all affect idle connections, and their policies differ.
Measure round-trip time, disconnects and recovery time together. A fast speed test does not show whether the session stays usable while the phone moves.
Home Wi-Fi: The Hidden Bottleneck
Before blaming the ISP, test the connection between the device and the router.
The 2.4 GHz band generally reaches farther, but interference and limited channel space can constrain performance. The 5 GHz and 6 GHz bands offer more capacity under suitable conditions, though walls and distance affect coverage. Not every device supports 6 GHz.
Jitter is variation in packet arrival time. A call with uneven delivery may need additional buffering, increasing conversational delay. That does not automatically mean audio drifts behind video, since the player also manages synchronization.
Practical checks for the reader:
- Run a latency test under load instead of only an idle speed test.
- Compare bands and router locations before changing settings permanently.
- Test Smart Queue Management where supported, especially if latency rises during uploads.
- Connect streaming devices through wired LAN ports where possible, then compare the results.
Smart TVs and the Big-Screen Problem
Smart TVs run web applications, but browser engines and supported features vary by platform and model year. An app that works on a current phone still needs testing on its oldest supported TV.
Heavy JavaScript can delay startup and remote-control input. Profile parsing, execution and rendering before choosing a fix. Code splitting and deferring non-essential work can reduce the amount the device must process at launch.
Video compatibility is another limit. During the 2026 Super Bowl, Dan Rayburn’s device testing covered more than 25 devices and platforms. His published technical notes described a Peacock MPEG-DASH stream using CMAF packaging, with separate HD and 4K encoding ladders.
Developers targeting TVs should test on real hardware. Emulator measurements can differ from those collected on a television, particularly when assessing responsiveness and memory use.
Troubleshooting Checklist for Real-Time Web Apps
Teams can work through these symptoms in order.
Messages arrive in bursts. Compare arrival times with network changes, packet loss and main-thread activity. Check reconnection logs and whether recovery preserves the correct application state.
Video stalls but audio continues. Inspect video download times, buffer levels, decoder errors and device load. Test a lower rendition before assuming the bitrate ladder is the only problem.
First load is slow, later loads are fast. Separate DNS, connection setup, server response, asset downloads and JavaScript execution. Cache versioned assets appropriately, but do not lengthen HTML caching without considering freshness.
App freezes on TV but not phone. Profile JavaScript on the device. Reduce startup work and defer non-critical scripts, then retest remote-control responsiveness.
WebRTC calls fail behind corporate firewalls. Check ICE connection diagnostics. Configure a TURN service with TLS on port 443 as a fallback where supported, then verify it works through the relevant firewall.
High latency only at peak hours. Compare wired and wireless results, then test the same app over mobile data. This helps narrow the investigation without immediately attributing the problem to ISP peering.
Chrome DevTools helps with the browser side. Filter the Network panel to WS, select a connection and open Messages to inspect recent traffic and timestamps. The table shows the last 100 messages, not a complete session archive. Open chrome://webrtc-internals before reproducing a call problem to collect connection statistics. Capture a session while the fault is happening, then compare device, Wi-Fi and wider-network evidence before choosing a fix.