Three new properties are now available on request.cf in Workers that expose Layer 4 transport telemetry from the client connection. These properties let your Worker make decisions based on real-time connection quality signals — such as round-trip time and data delivery rate — without requiring any client-side changes.
Previously, this telemetry was only available via the Server-Timing: cfL4 response header. These new properties surface the same data directly in the Workers runtime, so you can use it for routing, logging, or response customization.
New properties
| Property | Type | Description |
|---|---|---|
clientTcpRtt | number | undefined | The smoothed TCP round-trip time (RTT) between Cloudflare and the client in milliseconds. Only present for TCP connections (HTTP/1, HTTP/2). For example, 22. |
clientQuicRtt | number | undefined | The smoothed QUIC round-trip time (RTT) between Cloudflare and the client in milliseconds. Only present for QUIC connections (HTTP/3). For example, 42. |
edgeL4 | Object | undefined | Layer 4 transport statistics. Contains deliveryRate (number) — the most recent data delivery rate estimate for the connection, in bytes per second. For example, 123456. |
Example: Log connection quality metrics
export default { async fetch(request) { const cf = request.cf;
const rtt = cf.clientTcpRtt ?? cf.clientQuicRtt ?? 0; const deliveryRate = cf.edgeL4?.deliveryRate ?? 0; const transport = cf.clientTcpRtt ? "TCP" : "QUIC";
console.log(`Transport: ${transport}, RTT: ${rtt}ms, Delivery rate: ${deliveryRate} B/s`);
const headers = new Headers(request.headers); headers.set("X-Client-RTT", String(rtt)); headers.set("X-Delivery-Rate", String(deliveryRate));
return fetch(new Request(request, { headers })); },};For more information, refer to Workers Runtime APIs: Request.
Source: Cloudflare
Latest Posts
- (Updated) Microsoft Viva Engage: Flexible targeting of Storyline Announcements [MC1183013]
![(Updated) Microsoft Viva Engage: Flexible targeting of Storyline Announcements [MC1183013] 2 pexels pixabay 462162](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Microsoft Viva: Agent flexible query in Analytics Workbench [MC1403410]
![Microsoft Viva: Agent flexible query in Analytics Workbench [MC1403410] 3 pexels ketut subiyanto 4350217](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Update to Microsoft Enterprise Content Delivery Network (eCDN) analytics data retention (360 days to 180 days) [MC1403404]
![Update to Microsoft Enterprise Content Delivery Network (eCDN) analytics data retention (360 days to 180 days) [MC1403404] 4 pexels eye4dtail 122308](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Microsoft Purview compliance portal: View-only role management enhancements [MC1403403]
![Microsoft Purview compliance portal: View-only role management enhancements [MC1403403] 5 pexels pixabay 269063](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)

![(Updated) Microsoft Viva Engage: Flexible targeting of Storyline Announcements [MC1183013] 2 pexels pixabay 462162](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-pixabay-462162-150x150.webp)
![Microsoft Viva: Agent flexible query in Analytics Workbench [MC1403410] 3 pexels ketut subiyanto 4350217](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-ketut-subiyanto-4350217-150x150.webp)
![Update to Microsoft Enterprise Content Delivery Network (eCDN) analytics data retention (360 days to 180 days) [MC1403404] 4 pexels eye4dtail 122308](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-eye4dtail-122308-150x150.webp)
![Microsoft Purview compliance portal: View-only role management enhancements [MC1403403] 5 pexels pixabay 269063](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-pixabay-269063-150x150.webp)
