The Server-Timing header now includes a new cfWorker metric that measures time spent executing Cloudflare Workers, including any subrequests performed by the Worker. This helps developers accurately identify whether high Time to First Byte (TTFB) is caused by Worker processing or slow upstream dependencies.
Previously, Worker execution time was included in the edge metric, making it harder to identify true edge performance. The new cfWorker metric provides this visibility:
| Metric | Description |
|---|---|
edge | Total time spent on the Cloudflare edge, including Worker execution |
origin | Time spent fetching from the origin server |
cfWorker | Time spent in Worker execution, including subrequests but excluding origin fetch time |
Example response
Server-Timing: cdn-cache; desc=DYNAMIC, edge; dur=20, origin; dur=100, cfWorker; dur=7In this example, the edge took 20ms, the origin took 100ms, and the Worker added just 7ms of processing time.
Availability
The cfWorker metric is enabled by default if you have Real User Monitoring (RUM) enabled. Otherwise, you can enable it using Rules.
This metric is particularly useful for:
- Performance debugging: Quickly determine if latency is caused by Worker code, external API calls within Workers, or slow origins.
- Optimization targeting: Identify which component of your request path needs optimization.
- Real User Monitoring (RUM): Access detailed timing breakdowns directly from response headers for client-side analytics.
For more information about Server-Timing headers, refer to the W3C Server Timing specification.
Source: Cloudflare
Latest Posts
- Collaborate with Copilot in Outlook while drafting email [MC1239932]
![Collaborate with Copilot in Outlook while drafting email [MC1239932] 2 pexels pixabay 50577](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) Microsoft Teams: Choose to hide inactive channels [MC1141958]
![(Updated) Microsoft Teams: Choose to hide inactive channels [MC1141958] 3 pexels cottonbro 5474294](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) Microsoft Teams: External domains anomalies report [MC1219794]
![(Updated) Microsoft Teams: External domains anomalies report [MC1219794] 4 pexels pixabay 39531](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) Microsoft Teams: Miracast support for Teams Rooms on Windows (Teams Rooms Pro only) [MC1186374]
![(Updated) Microsoft Teams: Miracast support for Teams Rooms on Windows (Teams Rooms Pro only) [MC1186374] 5 pexels pixabay 262367](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)

![Collaborate with Copilot in Outlook while drafting email [MC1239932] 2 pexels pixabay 50577](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-pixabay-50577-150x150.webp)
![(Updated) Microsoft Teams: Choose to hide inactive channels [MC1141958] 3 pexels cottonbro 5474294](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-cottonbro-5474294-150x150.webp)
![(Updated) Microsoft Teams: External domains anomalies report [MC1219794] 4 pexels pixabay 39531](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-pixabay-39531-150x150.webp)
![(Updated) Microsoft Teams: Miracast support for Teams Rooms on Windows (Teams Rooms Pro only) [MC1186374] 5 pexels pixabay 262367](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-pixabay-262367-150x150.webp)
