User Agents

Web browsers and everyday web tech, explained

Chrome Network Tab: How to Debug

· 6 min read · Browsers

In this article
  1. What the Network Tab Actually Shows
  2. How to Record and Filter Requests
  3. Inspecting a Single Request: Headers, Payload, Response
  4. Common Debugging Scenarios and How to Solve Them
  5. Using the Network Tab with Other DevTools Panels
  6. Preserving Logs and Simulating Conditions
  7. Frequently Asked Questions

Open Chrome DevTools (F12 or Ctrl+Shift+I on Windows/Linux, Cmd+Option+I on Mac), click the Network tab, and reload the page to see every request the browser makes. The tab shows each request's name, status, type, size, and time, and clicking any request reveals headers, payload, response, and timing details—this is where you start debugging slow loads, failed requests, or API issues.

What the Network Tab Actually Shows

The Network tab records all HTTP and HTTPS traffic between the page and servers. Each row is one request: the document itself, CSS, JavaScript, images, fonts, XHR/fetch calls, WebSockets, and more. The columns you see by default are:

  • Name – the resource URL or filename
  • Status – HTTP response code (200, 404, 500, etc.)
  • Type – document, script, stylesheet, xhr, fetch, img, etc.
  • Size – transferred size vs. actual resource size (if compressed)
  • Time – total time from request start to response end

You can click column headers to sort by any field—sorting by Time often reveals the slowest resource immediately. The bottom status bar shows a summary: total requests, transferred bytes, and total load time.

How to Record and Filter Requests

Recording is automatic when the tab is open. To capture the initial page load, open the Network tab first, then press Ctrl+R (or Cmd+R) to reload. If you want to clear existing entries, click the clear icon (a circle with a slash) or press Ctrl+L.

Filtering is essential when a page makes dozens of requests. Use the filter bar at the top:

  • Type filters: All, Fetch/XHR, JS, CSS, Img, Media, Font, Doc, WS (WebSocket), Manifest, and Other
  • Text search box – filter by URL or filename substring
  • Property filters like status-code:404, domain:api.example.com, larger-than:100k, mime-type:image/png

For API debugging, the Fetch/XHR filter is the most useful—it shows only network requests made by JavaScript (fetch, axios, XMLHttpRequest), which are the ones that drive dynamic content.

Inspecting a Single Request: Headers, Payload, Response

Click any request row to open the detail panel. The Headers tab shows request URL, request method, status code, remote address, and all HTTP headers sent and received. The Payload tab (for POST/PUT requests) shows the body sent to the server—form data or JSON. The Response tab shows the raw response body, and Preview renders it in a more readable format (JSON tree, image, or rendered HTML).

For a JSON API, the Preview tab lets you expand nested objects without copying the raw text. The Timing tab breaks down the request into phases: Queueing, Stalled, DNS lookup, Initial connection, SSL, Request sent, Waiting (TTFB), and Content Download. If you see a long Waiting time, the server is slow to respond; a long Content Download means the resource is large or the network is slow.

Common Debugging Scenarios and How to Solve Them

Here are typical issues you can diagnose with the Network tab:

  1. Page loads but images missing – Filter by Img and look for status 404 or 403. Click the failed request to see the exact URL and check if the path is wrong.
  2. API call returns an error – Filter by Fetch/XHR, click the failing request, and check the Status code. A 500 means server error; a 400 means bad request (check the Payload). A 401/403 means authentication/authorization issue.
  3. Page is slow – Sort by Time and look for the largest bars. Also check Size to see if a huge image or unminified JS is the culprit. Use the Timing tab to see if the bottleneck is network latency or server processing.
  4. Request is blocked or CORS error – Look for a status of (blocked:mixed-content) or (cors-error) in the Name column. Click the request to see the exact error message in the Console tab.
  5. Duplicate requests – Check if the same URL appears multiple times; this often indicates a missing cache header or a bug in the code that triggers the same API call repeatedly.

Using the Network Tab with Other DevTools Panels

The Network tab works best when combined with the Console and Performance panels. When a request fails, the Console often shows a related JavaScript error. The Performance panel gives a timeline of rendering and scripting, but the Network tab is more precise for HTTP-level issues.

You can also right-click a request and select Copy → Copy as cURL to reproduce the request from the command line—useful for testing APIs without the browser. The Copy as fetch option gives you a ready-to-run JavaScript snippet.

Preserving Logs and Simulating Conditions

By default, the log clears on navigation. To keep it, check the Preserve log box at the top. This is essential when debugging redirects or when you need to see requests that happen before a page unloads.

The Disable cache checkbox forces the browser to bypass the HTTP cache, which is useful when you’re testing changes to JS/CSS files and want to ensure you’re loading the latest version. However, remember that this affects all resources, not just the one you’re editing.

For mobile debugging, you can use the Network conditions panel (via the dropdown next to the filter bar) to simulate different network speeds (Slow 3G, Fast 3G, etc.) and offline mode. This helps you see how the page behaves under poor connectivity.

Frequently Asked Questions

How do I see the exact request URL and headers?

Click the request row, then go to the Headers tab. The top shows the request URL, method, and status. Scroll down to see Request Headers and Response Headers. You can copy any header value by right-clicking it.

Why do some requests show a gray status or no status?

Gray status usually means the request was served from the browser cache (status 200 from disk cache or memory cache). A blank status can appear for requests that were aborted or blocked. Click the request to see more details in the Headers tab.

How do I find a specific API call in a long list?

Use the filter bar and type fetch or xhr in the text box, or click the Fetch/XHR button. You can also type part of the URL, e.g., /api/users, to narrow it down.

What does “TTFB” mean and why is it high?

TTFB stands for Time to First Byte—the time between sending the request and receiving the first byte of the response. A high TTFB indicates server-side delay (slow database, slow backend logic, or network latency). It’s not a browser issue.

Can I see WebSocket frames in the Network tab?

Yes. Filter by WS to see WebSocket connections. Click a connection to see the Messages tab, which shows the frames sent and received. This is useful for debugging real-time features.

How do I export the network log to share with someone?

Right-click anywhere in the request list and select Save all as HAR with content. This creates a .har file that can be opened in Chrome’s Network tab (via the import icon) or in other tools. HAR files contain all request/response data, but be careful—they may include sensitive information like cookies or auth tokens.