- CHECKING API DATA IN INSPECT ELEMENT CHROME HOW TO
- CHECKING API DATA IN INSPECT ELEMENT CHROME DOWNLOAD
To enable throttling, select an option from the dropdown on the right of the "Disable cache" checkbox. This lets you simulate how your site loads on a slower connection.
To make investigating performance easier, Chrome DevTools includes a network throttling option that artificially increases response delays and reduces bandwidth.
Likewise, running your server locally means there's practically no round-trip latency. So a 10MB image might load quickly on your computer, but will take a long time on a 3G connection. Network throttlingĪs a developer you probably use a relatively fast internet connection. Learn more about reducing slow Time To First Byte (TTFB). It might be doing unnecessary work or run slow database queries. To resolve slow server responses you'll need to look at your backend code.
CHECKING API DATA IN INSPECT ELEMENT CHROME DOWNLOAD
If a response takes too long to download you need to make the response body smaller.įor example, if the the slow request loads an image: This way you can find out if the request is slow because the response takes a long time to download ( left), or if the server takes a long time before starting to send the response ( right). To break down the duration of a request, either hover over the Waterfall column, or click on the request and select the Timing tab. If a request is slow, then either the server needs to respond to requests more quickly, or the size of the response needs to be reduced. Here the Network tab will help identify opportunities to improve site performance. Instead rendering is blocked by a large number of concurrent image requests, slowing down a render-blocking script. But, compared to the 6.5s of JavaScript execution time, this isn't too important.īy comparison, the Getty Images homepage doesn't require a lot of CPU processing. Switching to the Network tab, we can see that the document request could probably be sped up, and the JavaScript bundle could be loaded more quickly. The Youtube homepage spends a lot of time running JavaScript and rendering the UI. If the CPU timeline contains a lot of orange then the page is running a lot of JavaScript, and it might be better to look into that instead of focussing on the network. Then select the Performance tab and click the Start profiling and reload page button. To check what's slowing down your page, open Chrome DevTools by right-clicking on the page and selecting Inspect. Heavy CPU processing is also a common cause of slow page load times. Getting started: is the network the performance bottleneck?īefore looking at the requests made by the page we first need to check if the network is actually what's slowing it down.
CHECKING API DATA IN INSPECT ELEMENT CHROME HOW TO
This article explains how to use the DevTools Network tab to debug performance issues. Chrome's developer tools provide a lot of information on what's slowing down your site and how to make it faster.