index.rst (2660B)
1 =============== 2 Network Monitor 3 =============== 4 5 The Network Monitor shows you all the HTTP requests Firefox makes (for example, when it loads a page, or due to `XMLHttpRequests <https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest>`_), how long each request takes, and details of each request. 6 7 Opening the Network Monitor 8 *************************** 9 10 There are a few different ways to open the Network Monitor: 11 12 - Press :kbd:`Ctrl` + :kbd:`Shift` + :kbd:`E` (:kbd:`Cmd` + :kbd:`Opt` + :kbd:`E` on a Mac). 13 14 - Select the *Network* panel in the Web Developer Tools, accessible from the Browser Tools submenu 15 16 - Click the wrench icon |image1|, which is in the main toolbar or under the Hamburger menu |image2|, then select "Network". 17 18 .. |image1| image:: wrench-icon.png 19 :width: 20 20 21 .. |image2| image:: hamburger.png 22 :width: 20 23 24 The Network Monitor will appear at the bottom of the browser window. When it first opens, the Network Monitor does not show request information. The just opened tool looks like this: 25 26 .. image:: network_monitor_new.png 27 :class: border 28 29 Either action causes the Network Monitor to begin monitoring network activity. Once the tool is monitoring network requests, the display looks like this: 30 31 .. image:: network_monitor.png 32 :class: border 33 34 When it is actively monitoring activity, the Network Monitor records network requests any time the Toolbox is open, even if the Network Monitor itself is not selected. This means you can start debugging a page in, for example, the Web Console, then switch to the Network Monitor to see network activity without having to reload the page. 35 36 UI overview 37 *********** 38 39 The UI is divided into four main pieces: 40 41 - The main screen contains the :doc:`toolbar <toolbar/index>`, the :doc:`network request list <request_list/index>`, and the :doc:`network request details pane <request_details/index>`: 42 43 .. image:: network_monitor_closeup.png 44 :class: border 45 46 - The :doc:`performance analysis <performance_analysis/index>` view is a separate screen: 47 48 .. image:: network_performance.png 49 :class: border 50 51 Working with the network monitor 52 ******************************** 53 54 The following articles cover different aspects of using the network monitdor: 55 56 - :doc:`Toolbar <toolbar/index>` 57 - :doc:`Network overrides <network_overrides/index>` 58 - :doc:`Network request list <request_list/index>` 59 - :doc:`Network request details <request_details/index>` 60 - :doc:`Network traffic recording <performance_analysis/index>` 61 - :doc:`Throttling <throttling/index>` 62 - :doc:`Inspecting web sockets <inspecting_web_sockets/index>` 63 - :doc:`Inspecting server-sent events <inspecting_server-sent_events/index>`