Skip to content

Commit f2600c9

Browse files
Remove article "Service worker improvements" (#3630)
* todo * Update service worker docs and references Renamed 'Service worker improvements' to 'Service workers' in documentation and navigation. Revised and expanded the service workers article for clarity and structure, and updated all references in related 'What's New' articles and the table of contents to match the new title. * dissolve .md * design plan * redirect * inc rvw * date * linkfix * update local toc * Application tool * sync headings upstream * linkfix * Cear * task orient * replace section * fin inc cmts * Update microsoft-edge/devtools/progressive-web-apps/index.md * See Also links --------- Co-authored-by: Patrick Brosset <patrick.brosset@microsoft.com>
1 parent e7d8459 commit f2600c9

File tree

22 files changed

+268
-197
lines changed

22 files changed

+268
-197
lines changed

microsoft-edge/devtools/network/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Use the **Network** tool to make sure the resources your webpage needs to run ar
2828

2929
This is a step-by-step tutorial walkthrough of the **Network** tool, for inspecting network activity for a page.
3030

31-
For an overview of the network-related DevTools features, see [Network features reference](reference.md).
31+
For an overview of the network-related DevTools features, see [Network features reference](./reference.md).
3232

3333

3434
<!-- ------------------------------ -->
85.3 KB
Loading
19 KB
Loading

microsoft-edge/devtools/service-workers/index-images/sw-network-timeline.png renamed to microsoft-edge/devtools/network/reference-images/sw-network-timeline.png

File renamed without changes.
135 KB
Loading

microsoft-edge/devtools/network/reference.md

Lines changed: 67 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: msedgedevrel
66
ms.topic: article
77
ms.service: microsoft-edge
88
ms.subservice: devtools
9-
ms.date: 07/17/2025
9+
ms.date: 03/25/2026
1010
---
1111
<!-- Copyright Kayce Basques
1212
@@ -26,12 +26,12 @@ ms.date: 07/17/2025
2626

2727
<!-- for each png, decide whether to create screenshot -->
2828

29-
The **Network** tool has the following features, to inspect network activity for a webpage. For a step-by-step walkthrough and introduction to the **Network** tool, see [Inspect network activity](index.md).
29+
The **Network** tool has the following features, to inspect network activity for a webpage.
3030

31+
For a step-by-step walkthrough and introduction to the **Network** tool, see [Inspect network activity](./index.md).
3132

3233
**Detailed contents:**
3334
<!-- https://github.com/captainbrosset/WebToc -->
34-
3535
* [Record network requests](#record-network-requests)
3636
* [Stop recording network requests](#stop-recording-network-requests)
3737
* [Clear requests](#clear-requests)
@@ -84,6 +84,7 @@ The **Network** tool has the following features, to inspect network activity for
8484
* [Display the timing breakdown of a request](#display-the-timing-breakdown-of-a-request)
8585
* [Preview a timing breakdown](#preview-a-timing-breakdown)
8686
* [Timing breakdown phases explained](#timing-breakdown-phases-explained)
87+
* [Analyze a service worker request routing](#analyze-a-service-worker-request-routing)
8788
* [Display initiators and dependencies](#display-initiators-and-dependencies)
8889
* [Display load events](#display-load-events)
8990
* [Display the total number of requests](#display-the-total-number-of-requests)
@@ -92,6 +93,7 @@ The **Network** tool has the following features, to inspect network activity for
9293
* [Display the uncompressed size of a resource](#display-the-uncompressed-size-of-a-resource)
9394
* [Export requests data](#export-requests-data)
9495
* [Save all network requests to a HAR file](#save-all-network-requests-to-a-har-file)
96+
* [Import a HAR file into DevTools for analysis](#import-a-har-file-into-devtools-for-analysis)
9597
* [Copy network requests to the clipboard](#copy-network-requests-to-the-clipboard)
9698
* [Copy formatted response JSON to the clipboard](#copy-formatted-response-json-to-the-clipboard)
9799
* [Copy property values from network requests to your clipboard](#copy-property-values-from-network-requests-to-your-clipboard)
@@ -1356,7 +1358,7 @@ To display the timing breakdown of a request:
13561358

13571359
For a faster way to access the data, see [Preview a timing breakdown](#preview-a-timing-breakdown).
13581360

1359-
For more information about each of the phases that may be displayed in the **Timing** panel, see [Timing breakdown phases explained](#timing-breakdown-phases-explained).
1361+
For information about each of the phases that might be displayed in the **Timing** panel, see [Timing breakdown phases explained](#timing-breakdown-phases-explained), below.
13601362

13611363

13621364
<!-- ---------- -->
@@ -1369,7 +1371,7 @@ The **Waterfall** column is off by default. To turn on the **Waterfall** column
13691371

13701372
![Previewing the timing breakdown of a request](./reference-images/resources-waterfall-hover.png)
13711373

1372-
To view the data without hovering, see the top of the present section, [Display the timing breakdown of a request](#display-the-timing-breakdown-of-a-request).
1374+
To view the data without hovering, see [Display the timing breakdown of a request](#display-the-timing-breakdown-of-a-request), above.
13731375

13741376

13751377
<!-- ---------- -->
@@ -1378,32 +1380,77 @@ To view the data without hovering, see the top of the present section, [Display
13781380

13791381
Each of these phases may appear in the **Timing** tab:
13801382

1381-
- **Queueing**. The browser queues requests when any of the following are true
1382-
- There are higher priority requests.
1383-
- There are already six TCP connections open for this origin, which is the limit. Applies to HTTP/1.0 and HTTP/1.1 only.
1384-
- The browser is briefly allocating space in the disk cache.
1383+
* **Queueing**. The browser queues requests when any of the following are true
1384+
* There are higher priority requests.
1385+
* There are already six TCP connections open for this origin, which is the limit. Applies to HTTP/1.0 and HTTP/1.1 only.
1386+
* The browser is briefly allocating space in the disk cache.
1387+
1388+
* **Stalled**. The request could be stalled for any of the reasons described in **Queueing**.
1389+
1390+
* **Startup**. When the request is handled by a service worker, **Startup** is the time it took for the service worker to start.
1391+
1392+
* **respondWith**. When the request is handled by a service worker, **respondWith** is the time that it took for the service worker to run the `fetchEvent.respondWith()` callback.
1393+
1394+
* **DNS Lookup**. The browser is resolving the IP address for the request.
1395+
1396+
* **Initial connection**. The browser is establishing a connection, including TCP handshakes and retries and negotiating a Secure Socket Layer (SSL).
1397+
1398+
* **Proxy negotiation**. The browser is negotiating the request with a [proxy server](https://wikipedia.org/wiki/Proxy_server).
1399+
1400+
* **Request sent**. The request is being sent.
1401+
1402+
* **ServiceWorker Preparation**. The browser is starting up the service worker.
1403+
1404+
* **Request to ServiceWorker**. The request is being sent to the service worker.
1405+
1406+
* **Waiting (TTFB)**. The browser is waiting for the first byte of a response. TTFB stands for _Time To First Byte_. This timing includes one round trip of latency and the time the server took to prepare the response.
1407+
1408+
* **Content Download**. The browser is receiving the response.
1409+
1410+
* **Receiving Push**. The browser is receiving data for this response via HTTP/2 Server Push.
1411+
1412+
* **Reading Push**. The browser is reading the local data that was previously received.
1413+
1414+
1415+
<!-- ---------- -->
1416+
###### Analyze a service worker request routing
1417+
<!--
1418+
#### Display the timing breakdown of a service worker request
1419+
-->
1420+
1421+
To visualize request routing, timelines display the service worker `Startup` event and the `respondWith` fetch events. You can debug and visualize a network request that passed through a service worker.
1422+
1423+
To display the timing breakdown of a service worker request:
1424+
1425+
1. Go to a page that uses a service worker, such as the [pwamp](https://microsoftedge.github.io/Demos/pwamp/) demo page, in a new window or tab.
1426+
1427+
1. Right-click the page, and then select **Inspect**.
1428+
1429+
DevTools opens.
1430+
1431+
1. Select the **Network** tool.
13851432

1386-
- **Stalled**. The request could be stalled for any of the reasons described in **Queueing**.
1433+
1. Reload the page.
13871434

1388-
- **DNS Lookup**. The browser is resolving the IP address for the request.
1435+
1. In the list of requests, select a network request that went through a service worker file. For example, select **about.css**.
13891436

1390-
- **Initial connection**. The browser is establishing a connection, including TCP handshakes and retries and negotiating a Secure Socket Layer (SSL).
1437+
The sidebar appears.
13911438

1392-
- **Proxy negotiation**. The browser is negotiating the request with a [proxy server](https://wikipedia.org/wiki/Proxy_server).
1439+
1. In the sidebar, click the **Timing** tab:
13931440

1394-
- **Request sent**. The request is being sent.
1441+
![The Timing tab within the Network tool](./reference-images/timing-tab.png)
13951442

1396-
- **ServiceWorker Preparation**. The browser is starting up the service worker.
1443+
The **Service Worker** section displays timing information about the **Startup** and **respondWith** phases.
13971444

1398-
- **Request to ServiceWorker**. The request is being sent to the service worker.
1445+
1. Click the expander arrow on the **respondWith** section:
13991446

1400-
- **Waiting (TTFB)**. The browser is waiting for the first byte of a response. TTFB stands for _Time To First Byte_. This timing includes one round trip of latency and the time the server took to prepare the response.
1447+
![The expanded respondWith section](./reference-images/respondwith-expanded.png)
14011448

1402-
- **Content Download**. The browser is receiving the response.
1449+
1. Within the **respondWith** section, click the expander arrow on **Original Request**:
14031450

1404-
- **Receiving Push**. The browser is receiving data for this response via HTTP/2 Server Push.
1451+
![The fully expanded respondWith section](./reference-images/respondwith-expanded-fully.png)
14051452

1406-
- **Reading Push**. The browser is reading the local data that was previously received.
1453+
1. On **Response Received**, click the expander arrow.
14071454

14081455

14091456
<!-- ------------------------------ -->
329 Bytes
Loading
220 Bytes
Loading
689 Bytes
Loading

0 commit comments

Comments
 (0)