Académique Documents
Professionnel Documents
Culture Documents
On the Network tab of the Developer Tools pane, Chrome lists all
connections for the current page. To test a specific page, open
Developer Tools and navigate to the page you want to test.
Alternatively, if you want to test the current page, simply refresh the
page.
Chrome displays information for each page resource and its
request:
Name: The name or URL of the requested resource.
Method: The HTTP method (GET or POST).
Status: The HTTP status code returned by the server.
Type: The MIME type of the resource.
Initiator: The referer sent to the server; this is usually the URL of
the page you are viewing.
Size: The size of the resource as received by the browser (if the
page was compressed by the server, this value is smaller than the
actual filesize).
Time: The total time to retrieve the resource, including DNS lookup
and download time.
Timeline: The timeline is a “waterfall” time-lapse view of each
request. If you hover your mouse pointer over a bar on the waterfall,
a tooltip appears with a detailed breakdown of the download time:
load: This event is the time to load the page, including all of the
JavaScript, CSS, and image files that are in the original HTML
document. This event generally takes longer than
the DOMContentLoaded event.
DOMContentLoaded: This event represents the perceived time
by a user to load the page. It is the time to render the page as
described in the original document before JavaScript requests
additional resources. This time is stored when the browser fires
the DOMContentLoaded event in JavaScript. (An example of a
resource that is requested outside of the DOM is Google
Analytics.)
To retrieve the results of many of the metrics below for your particular site you can
run a speed test over at webpagetest.org. Note that not all metrics will be displayed
on the summary or performance review pages. To access more granular metrics you
will need to download the raw page data report as shown below.
The following site speed test results were are taken from a default WordPress test
site running on Nginx and KeyCDN with no special configurations.
1. Time To Title#
The amount of time between the instant a visitor requests your website and the
moment your site’s title shows up in their browser tab is called the time to title.
Seeing a title right away lets the user know that your website is legitimate, which
makes them more likely to wait for the page to finish loading. Time to title is
determined by the speed of delivery from your origin server to the user’s browser. As
shown in the results below, the time to title for our test site was 464ms.
3. Time To Interact#
The time between a request and the moment when a user can click on links, type in
text fields or scroll the page is called time to interact. Some elements such as scripts
and trackers may continue to load during this period.
Visit our article to learn more about how to reduce DNS lookups. Additionally, check
out our list of best free DNS providers for more information regarding what’s
available in terms of DNS services.
5. Connection Time#
The time between a request and when a connection is established between the user’s
browser and your origin server is called the connection time.
Static content that appears the same to all users should be separated from dynamic
content that is specific to the individual visitor. This way, users will receive your
content right away while waiting for slower personalized content to load. Rigorous
metric monitoring and load testing can help developers identify time to first byte
issues. You can also use the KeyCDN performance test to view the TTFB of a domain,
or single asset, from 14 test locations.
8. Overall Weight#
The total number of bytes the user receives is referred to as the overall weight of
your website. More important than the overall weight is the relationship between
each asset since one heavy asset can slow down everything else. Furthermore,
the growth of web page size has continued to expand year after year, therefore it’s
important to sometimes step back and see which assets are truly necessary.
By separating individual metrics such as JavaScript weight, CSS weight, image weight
and total asset weight, you can pick out which categories are too heavy, and then
you can perform a waterfall analysisto identify the asset that needs to be altered or
removed.
9. Overall Asset Count#
The number of assets you have obviously affects your website’s overall weight, but
it’s important to differentiate between asset count and weight. Every asset, no matter
how small or compressed, has the potential to add more time to the loading process.
Your overall asset count includes your total JavaScript, CSS and image counts.
See how we improved WordPress performance and went from a 532ms load time to
167ms by reducing the amount of HTTP requests made.
For example, you may notice that your error rate starts to increase at a specific point
during a load test, such as when a certain number of concurrent users are attempting
the same action. If you’re expecting a sudden surge in traffic due to a special
promotion or event, this information can help you prepare. Some errors are
inevitable, but keeping an eye on the number of errors your website is encountering
can help minimize larger issues down the road.
If you’re using KeyCDN, you can use the Reporting section to see how many client
errors your Zone(s) have encountered over a specific period of time.
The chart below shows the correlation between website load time and conversion
rates.
Source: Forbes
If your conversion rate is low, you may be attracting the wrong kind of traffic, should
improve upon your website speed metrics, or might have an inefficient call to action.
For example, implementing lazy loading can technically make your website faster, but
adding a progress indicator to individual assets as they load makes users more
conscious of the passing time, so they actually perceive the website as loading
slowly. If you’re going to use lazy loading, be sure to leave out the indicator.
FOUT, or flash of unstyled text, is another issue that impacts user perception. FOUT
occurs when fonts are loaded toward the end of the DOC load, so characters appear
as blurry blocks before turning into recognizable letters and numbers. FOUT doesn’t
affect your website’s actual speed, but it is visually jarring and makes users more
aware that they are waiting for the page to load.