Network Features Reference
Network Features Reference
Kayce Basques
Technically, I'm a writer
Table of contents
Discover new ways to analyze how your page loads in this comprehensive reference of Chrome
DevTools network analysis features.
Note: This reference is based on Chrome 58. If you use another version of Chrome, the UI
and features of DevTools may be different. Check chrome://help to see what version of
Chrome you're running.
Click Stop recording network log on the Network panel. It turns grey to indicate that
DevTools is no longer recording requests.
Press Command+E (Mac) or Control+E (Windows, Linux) while the Network panel is in focus.
# Clear requests
Click Clear on the Network panel to clear all requests from the Requests table.
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience. More details
Figure 2. Clear, outlined in blue
To save requests across page loads, check the Preserve log checkbox on the Network panel.
DevTools saves all requests until you disable Preserve log.
Capture screenshots to analyze what users see as they wait for your page to load.
To enable screenshots, open Settings inside the Network panel and check Capture screenshots.
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience. More details
Reload the page while the Network panel is in focus to capture screenshots.
Once captured, you can interact with screenshots in the following ways:
Hover over a screenshot to view the point at which that screenshot was captured. A yellow
line appears on the Overview pane.
Click a screenshot's thumbnail to filter out any requests that occurred after the screenshot
was captured.
To replay an XHR request, right-click the request in the Requests table and select Replay XHR.
To emulate how a first-time user experiences your site, check the Disable cache checkbox. DevTools
disables the browser cache. This more accurately emulates a first-time user's experience, because
requests are served from the browser cache on repeat visits.
If you want to disable the cache while working in other DevTools panels, use the Network
Conditions drawer.
To manually clear the browser cache at any time, right-click anywhere in the Requests table and
select Clear Browser Cache.
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience. More details
Figure 7. Selecting Clear Browser Cache
# Emulate offline
There's a new class of web apps, called Progressive Web Apps, which can function offline with the
help of service workers. When you're building this type of app, it's useful to be able to quickly
simulate a device that has no data connection.
Emulate 2G, 3G, and other connection speeds from the Network Throttling menu.
You can select from a variety of presets, such as Regular or Good 2G. You can also add your own
custom presets by opening the Network Throttling menu and selecting Custom > Add.
DevTools displays a warning icon next to the Network tab to remind you that throttling is enabled.
If you want to throttle the network connection while working in other DevTools panels, use the
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience. More details
Network Conditions drawer.
1 Open the Network Conditions drawer.
2 Select your desired connection speed from the Network Throttling menu.
To manually clear browser cookies at any time, right-click anywhere in the Requests table and select
Clear Browser Cookies.
3 Choose a user agent option from the menu, or enter a custom one in the text box.
# Filter requests
Use the Filter text box to filter requests by properties, such as the domain or size of the request.
If you can't see the text box, the Filters pane is probably hidden. See Hide the Filters pane.
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience. More details
Figure 11. The Filters text box, outlined in blue
You can use multiple properties simultaneously by separating each property with a space. For
example, mime-type:image/gif larger-than:1K displays all GIFs that are larger than one
kilobyte. These multi-property filters are equivalent to AND operations. OR operations are currently
not supported.
Below is a complete list of supported properties.
domain . Only display resources from the specified domain. You can use a wildcard
character ( * ) to include multiple domains. For example, *.com displays resources from all
domain names ending in .com . DevTools shows a populates the autocomplete dropdown
menu with all of the domains it has encountered.
has-response-header . Show the resources that contain the specified HTTP response
header. DevTools populates the autocomplete dropdown with all of the response headers
that it has encountered.
larger-than . Show resources that are larger than the specified size, in bytes. Setting a
value of 1000 is equivalent to setting a value of 1k .
method . Show resources that were retrieved over a specified HTTP method type. DevTools
populates the autocomplete dropdown with all of the HTTP methods it has encountered.
priority . Show resources whose priority level matches the specified value.
resource-type . Show resources of a resource type, e.g. image. DevTools populates the
autocomplete dropdown with all resource types it has encountered.
set-cookie-name . Show the resources that have a Set-Cookie header with a name that
matches the specified value. DevTools populates the autocomplete with all of the cookie
names that it has encountered.
set-cookie-value . Show the resources that have a Set-Cookie header with a value
that matches the specified value. DevTools populates the autocomplete with all of the
cookie values that it has encountered.
status-code . Only show resources whose HTTP status code match the specified code.
DevTools populates the autocomplete dropdown menu with all of the status codes it has
encountered.
url . Show the resources that have a url matching the specified value.
To filter requests by request type, click the XHR, JS, CSS, Img, Media, Font, Doc, WS (WebSocket),
Manifest, or Other (any other type not listed here) buttons on the Network panel.
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience. More details
If you can't see these buttons, the Filters pane is probably hidden. See Hide the Filters pane.
To enable multiple type filters simultaneously, hold Command (Mac) or Control (Windows, Linux)
and then click.
Figure 12. Using the Type filters to display JS, CSS, and Doc[ument] resources.
Click and drag left or right on the Overview pane to only display requests that were active during
that time frame. The filter is inclusive. Any request that was active during the highlighted time is
shown.
Figure 13. Filtering out any requests that weren't active around 2500ms
Data URLs are small files embedded into other documents. Any request that you see in the
Requests table that starts with data: is a data URL.
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience. More details
Figure 14. The Hide Data URLs checkbox
# Sort requests
By default, the requests in the Requests table are sorted by initiation time, but you can sort the table
using other criteria.
# Sort by column
Click the header of any column in the Requests to sort requests by that column.
To change how the Waterfall sorts requests, right-click the header of the Requests table, hover over
Waterfall, and select one of the following options:
Start Time. The first request that was initiated is at the top.
Response Time. The first request that started downloading is at the top.
Total Duration. The request with the shortest connection setup and request / response is at
the top.
Latency. The request that waited the shortest time for a response is at the top.
These descriptions assume that each respective option is ranked from shortest to longest. Clicking
on the Waterfall column's header reverses the order.
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience. More details
Figure 15. Sorting the Waterfall by total duration. The lighter portion of each bar is time spent
waiting. The darker portion is time spent downloading bytes.
# Analyze requests
So long as DevTools is open, it logs all requests in the Network panel. Use the Network panel to
analyze requests.
Use the Requests table to view a log of all requests made while DevTools has been open. Clicking or
hovering over requests reveals more information about them.
Other. Some other process or action, such as navigating to a page via a link or
entering a URL in the address bar.
Size. The combined size of the response headers plus the response body, as delivered by the
server.
Time. The total duration, from the start of the request to the receipt of the final byte in the
response.
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience. More details
Right-click the header of the Requests table and select an option to hide or show it. Currently
displayed options have checkmarks next to them.
To add a custom column to the Requests table, right-click the header of the Requests table and
select Response Headers > Manage Header Columns.
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience. More details
Figure 18. Adding a custom column to the Requests table.
Use the Waterfall to view the timing of requests in relation to one another. By default, the Waterfall
is organized by the start time of the requests. So, requests that are farther to the left started earlier
than those that are farther to the right.
See Sort by activity phase to see the different ways that you can sort the Waterfall.
1 Click the URL of the WebSocket connection, under the Name column of the Requests table.
2 Click the Frames tab. The table shows the last 100 frames.
To refresh the table, re-click the name of the WebSocket connection under the Name column of the
Requests table.
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience. More details
The table contains three columns:
Data. The message payload. If the message is plain text, it's displayed here. For binary
opcodes, this column displays the opcode's name and code. The following opcodes are
supported: Continuation Frame, Binary Frame, Connection Close Frame, Ping Frame, and
Pong Frame.
1 Click the URL of the request, under the Name column of the Requests table.
1 Click the URL of the request, under the Name column of the Requests table.
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience. More details
Figure 22. The Response tab, outlined in blue
1 Click on the URL of the request, under the Name column of the Requests table.
By default, the Headers tab shows header names alphabetically. To view the HTTP header names in
the order they were received:
1 Open the Headers tab for the request you're interested in. See View HTTP headers.
2 Click view source, next to the Request Header or Response Header section.
There are times where the headers will show a warning message "Provisional headers are shown...".
1 It could be due to the request not sent over the network (served from a local cache), which
doesn't store the original request headers. In this case, you can disable caching to see the
full request headers.
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience. More details
2 It could also be due to the network resource not valid (e.g. Try
fetch("https://jec.fyi.com/unknown-url/") in the Console). DevTools could also
1 Open the Headers tab for the request you're interested in. See View HTTP headers.
1 Go to the Query String Parameters section. See View query string parameters.
2 Click
We serve cookies on this site to analyze viewremember
traffic, source. your preferences, and optimize your experience. More details
# View URL-encoded query string parameters
To view query string parameters in a human-readable format, but with encodings preserved:
1 Go to the Query String Parameters section. See View query string parameters.
# View cookies
1 Click the URL of the request, under the Name column of the Requests table.
1 Click the URL of the request, under the Name column of the Requests table.
See Preview a timing breakdown for a faster way to access this data.
See Timing breakdown phases explained for more information about each of the phases that you
may see in the Timing tab.
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience. More details
Figure 26. The Timing tab, outlined in blue
See View timing breakdown for another way to access this view.
To view a preview of the timing breakdown of a request, hover over the request's entry in the
Waterfall column of the Requests table.
See View the timing breakdown of a request for a way to access this data that does not require
hovering.
Here's more information about each of the phases you may see in the Timing tab:
There are already six TCP connections open for this origin, which is the limit. Applies
to HTTP/1.0 and HTTP/1.1 only.
Stalled. The request could be stalled for any of the reasons described in Queueing.
Proxy negotiation. The browser is negotiating the request with a proxy server.
Waiting (TTFB). The browser is waiting for the first byte of a response. TTFB stands for
Time To First Byte. This timing includes 1 round trip of latency and the time the server took
to prepare the response.
Reading Push. The browser is reading the local data previously received.
To view the initiators and dependencies of a request, hold Shift and hover over the request in the
Requests table. DevTools colors initiators green, and dependencies red.
When the Requests table is ordered chronologically, the first green request above the request that
you're hovering over is the initiator of the dependency. If there's another green request above that,
that higher request is the initiator of the initiator. And so on.
DevTools displays the timing of the DOMContentLoaded and load events in multiple places on
the Network panel. The DOMContentLoaded event is colored blue, and the load event is red.
Figure 29. The locations of the DOMContentLoaded and load events in the Network panel
Caution
Caution: This number only tracks requests that have been logged since DevTools was
opened. If other requests occurred before DevTools was opened, those requests aren't
counted.
Figure 30. The total number of requests since DevTools was opened
The total download size of requests is listed in the Summary pane, at the bottom of the Network
panel.
Caution
Caution: This number only tracks requests that have been logged since DevTools was
opened. If other requests occurred before DevTools was opened, those requests aren't
counted.
See View the uncompressed size of a resource to see how large resources are after the browser
uncompresses them.
When a JavaScript statement causes a resource to be requested, hover over the Initiator column to
view the stack trace leading up to the request.
Click Use Large Request Rows and then look at the bottom value of the Size column.
Figure 33. The compressed size of the jquery-bundle.js file that was sent over the network
was 30.9 KB , whereas the uncompressed size was 86.3 KB
2 Select Save as HAR with Content. DevTools saves all requests that have occurred since you
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience. More details
opened DevTools to the HAR file. There is no way to filter requests, or to save just a single
request.
Once you've got a HAR file, you can import it back into DevTools for analysis. Just drag-and-drop
the HAR file into the Requests table. See also HAR Analyzer.
Under the Name column of the Requests table, right-click a request, hover over Copy, and select one
of the following options:
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience. More details
# Change the layout of the Network panel
Expand or collapse sections of the Network panel UI to focus on what's important to you.
By default, DevTools shows the Filters pane. Click Filter to hide it.
Use large rows when you want more whitespace in your network requests table. Some columns
also provide a little more information when using large rows. For example, the bottom value of the
Size column is the uncompressed size of a request.
Open Settings and click Use large request rows to enable large rows.
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience. More details
# Hide the Overview pane
By default, DevTools shows the Overview pane. Open Settings and uncheck the Show overview
checkbox to hide it.
Follow us
Contribute
File a bug
View source
Related content
web.dev
Web Fundamentals
Case studies
Podcasts
Connect
YouTube
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience. More details
GitHub
Chrome Firebase All products Privacy Terms
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience. More details