The Network tab within DevTools allows you to see a full list of every request your browser made in the process of loading the page while the DevTools is open. This includes the initial page load along with any resources that were requested in the page’s header such as javascript files (.js) and style sheets (.css). It also includes any media that needs to be loaded onto the page such as image files, video files, or even font files.
I find that the most useful columns in the network file list are the status and time columns. The status helps you identify which files had issues loading. If DevTools identifies the status code as a failure it will also change the row’s text color to red for quicker identification. The typical response codes include 200 OK - the file was returned successfully, 404 Not Found - the file could not be found, and 500 Internal Server Error - the server encountered an error when trying to resolve the request.
As for the time column, if a request has not been completed but the browser is still expecting a result, this column will read “pending”. For longer running requests such as building reports, this allows you to confirm that the request is still active compared to having a 500 status mentioned above. The browser will only wait so long for a response from the server, so if you get a 504 status message it means that the server either failed without returning a response or you need to take steps to mitigate the long running process.
You can also click into each request opening another pane that allows you to look at the request headers and parameters as well as the response. If there is a server error and the server is set up to return error messages such as how our local environments are configured, the response will often include the error message as well as where that error occurred and its stack trace to help you locate the code that needs fixing.