eG Monitoring
 

Measures reported by RUMAppTest

User experience with a web site is a key measure of web site performance. Typically, the following factors differentiate a ‘satisfactory’ user experience from a ‘slow’ or ‘frustrating’ experience:

  • Slow page views

  • Javascript errors in pages

When users complain of poor experience with a web site, administrators must first have to determine which of the aforesaid factors is adversely impacting user experience - slow pages? error pages? or both? But, this knowledge is not enough to help administrators undo the damage to revenue and reputation that user experience issues cause. For that, administrators also need to know exactly “why” and “where” the slowness occurred and “what” caused the Javascript error, so that they can quickly initiate measures to eliminate the bottleneck and ensure that user experience improves rapidly and significantly!

The challenge in isolating the root-cause of slow page views particularly, is the multi-tier nature of the page loading process. when a user requests for a web page by hitting the URL, the browser first unloads the page (if any) already loaded on to it. Then, the browser checks whether the request needs to be redirected to a different URL. If so, it redirects the request to the other URL. Next, the browser searches the App Cache for resources to be loaded to the requested page. If one/more resources are available in the cache, the browser loads the resources and then attempts to connect to the web/web application server that hosts the web site for fetching the requested page. When connecting to the server, the browser first looks up the DNS to resolve the server domain name to its IP address. If domain resolution is successful, the browser then establishes a TCP connection with the server via its IP address and port and transmits the page request to the server via that connection. The server then responds with the requested page. Upon receipt of a response from the server, the client browser builds the contents of the page by loading the document object model, and finally renders the page.

A slowdown in any one event that is part of the page loading process can affect the loading time of the page - for instance, if domain lookup takes longer than usual, page load time will increase. This is why, administrators often struggle to precisely pinpoint where the bottleneck is!

This is where the Web Site test helps. This test tracks page view requests to a monitored web site/web application, and measures the time taken by the requested pages to load. Administrators are promptly alerted if the load time slides below configured thresholds. Under such circumstances, the test supplements the administrator's troubleshooting efforts by additionally capturing and reporting the time taken by every step of the page loading process. This enables administrators to instantly and accurately isolate the exact step at which the slowdown may have occurred - during domain lookup? When connecting to the server via TCP? when processing the request at the server end? When loading the document? Or when rendering the page? Moreover, the detailed diagnosis of this test accurately pinpoints the slow pages (in terms of load time) and also provides the load time breakup per page, using which administrators can quickly and precisely identify which page is slow and why! The test also reports the count of pages with Javascript errors and provides detailed diagnostics that reveal what these errors are. This way, the test proactively alerts administrators to issues that may potentially affect user experience with a web site, pinpoints the root-cause of such issues, and thus helps administrators take corrective action, well before users notice.

Note:

  • The metrics reported by the RUMAppTest test forms the basis for the execution of all other tests mapped to the Real User Monitor component. So, if the RUMAppTest test is excluded or disabled, then none of the other tests will run.

  • The RUMAppTest test tracks requests to only the base pages of a monitored web site/web application; not to the AJAX or iFrame pages that the web application may support. To capture the responsiveness of requests to AJAX and iFrame pages, you need to use the RUMPageTypeTest test instead.

By default, the eG agent can send a maximum of 50 million characters to the eG manager, when reporting detailed diagnostics for a test for a single measurement period. If this limit is exceeded by a test during a measurement period, then the detailed diagnostics reported by that test will be automatically truncated and the additional characters dropped. Moreover, a message to this effect will also be logged in the eG agent's error log. If such errors are logged frequently for a particular test, you may want to seriously consider increasing this character limit of the detailed metrics collected by that test. For this purpose, do the following:

  • Edit the eg_tests.ini in the <EG_INSTALL_MANAGER}DIR>\manager\config directory of the eG manager installation.

  • Go to the [MAX_DD_UPLOAD_LENGTH] section of the file.

  • In this section, look for the parameter that corresponds to the <Internal_test_name> of the test for which the character limit has to be increased.

  • Once you find the parameter, set the value of that parameter to a number of your choice.

  • Finally, save the file.

The measures made by this test are as follows:

s
Measurement Description Measurement Unit Interpretation
Page_Requests Indicates the total number of times pages in this web site/web application were viewed by users. Number This is a good measure of the traffic to your web site/web application, and also reveals how popular your web site is.

An unusually high number of page views could be a cause for concern, as it could be owing to a malicious virus attack or an unscrupulous attempt to hack your web site/web application. Either way, be wary of sudden, but significant spikes in the page view count!

Note:

An abnormally high value for this measure may not always be a cause for concern; nor would it always indicate a genuine increase in traffic to the web site/web application.

If the eG agent monitoring the Real User Monitor component is stopped for sometime (say, for maintenance purposes) and then started, or if the eG agent-collector connection breaks and is restored after a while, the eG agent will pull all the metrics that the collector stored locally during the period of its absence, cumulate them, and then display the cumulated values in the eG monitoring console as metrics that pertain to the current measurement period. In reality, these metrics pertain to the entire time period when the eG agent was unavailable. Because of this, the Page_Requests measure may indicate a sudden and significant surge in traffic.
Apdex_Score Indicates the apdex score of this web site/web application. Number Apdex (Application Performance Index) is an open standard developed by an alliance of companies. It defines a standard method for reporting and comparing the performance of software applications in computing. Its purpose is to convert measurements into insights about user satisfaction, by specifying a uniform way to analyze and report on the degree to which measured performance meets user expectations.

The Apdex method converts many measurements into one number on a uniform scale of 0-to-1 (0 = no users satisfied, 1 = all users satisfied). The resulting Apdex score is a numerical measure of user satisfaction with the performance of enterprise applications. This metric can be used to report on any source of end-user performance measurements for which a performance objective has been defined.

The Apdex formula is:

Apdext = (Satisfied Count + Tolerating Count / 2) / Total Samples

This is nothing but the number of satisfied samples plus half of the tolerating samples plus none of the frustrated samples, divided by all the samples.

A score of 1.0 means all responses were satisfactory. A score of 0.0 means none of the responses were satisfactory. Tolerating responses half satisfy a user. For example, if all responses are tolerating, then the Apdex score would be 0.50.

Ideally therefore, the value of this measure should be 1.0. A value less than 1.0 indicates that the user experience with the web site/web application has been less than satisfactory.
Avg_Page_Load_Time Indicates the average time taken by the pages in this web site to load completely. ms This is the average interval between the time that a user initiates a request and the completion of the page load of the response in the user's browser. In the context of an Ajax request, it ends when the response has been completely processed.

If the value of this measure is consistently high for a web site/ web application, there is reason to worry. This is because, it implies that the web site/web application is slow in responding to requests. If this condition is allowed to persist, it can adversely impact user experience with the web site/web application. You may want to check the Apdex score in such circumstances to determine whether/not user experience has already been affected. Regardless, you should investigate the anomaly and quickly determine where the bottleneck lies – is it at the front end? network? or backend? - so that the problem can be fixed before users even notice any slowness! For that, you may want to compare the values of the Average browser initial request time, Avg_Response_Avail_Time, Avg_Network_Time, Avg_Dom_Ready_Time, and Avg_Page_Rendering_Time measures of this test.

If the Avg_Brow_Init_Req_Time is the highest, it can be attributed to a slowdown in redirection, AppCaching, or because the request spent too much time waiting on the browser. If the Avg_Network_Time is the highest, it denotes that the network is the problem source. This in turn can be caused by TCP connection latencies, delays in domain look up, and slowdown in SSL handshake. If the Avg_Dom_Ready_Time measure reports an abnormally high value, then it could be owing to slowness in downloading the HTML document or in building the DOM. On the other hand, if the Avg_Response_Avail_Time measure registers the highest value, it indicates that the problem lies with the web site/web application backend - i.e., the web/web application server that is hosting the web site/web application being monitored.

You can also use the detailed diagnosis of this measure to identify the exact pages in the web site/web application that are presently slow. With the help of the detailed metrics provided per page, you can even precisely pinpoint the root-cause of the slowness of that page.
Unique_User_session Indicates the number of distinct users who are currently accessing this web site/web application. Number HttpOnly is a flag that can be set on cookies to prevent their contents from being accessed by JavaScript. This is often done for session cookies to hide the session identifier, as a security measure.

If the HttpOnly flag is set for the session cookies of the monitored web site, then the eG RUM JavaScript will not be able to read the session identifier from the cookies. In such cases therefore, the eG agent will not be able to report the count of unique sessions.
Request_Per_Minute Indicates the number of times the pages in this web site/web application were viewed per minute. Number This is a good indicator of the level of activity on the web site.

An unusually high value for this measure may require investigation.
Percentage_Normal Indicates the percentage of page views with a normal user experience. Percent The value of this measure indicates the percentage of page views in which users have neither experienced any slowness, nor encountered any Javascript errors.

Ideally, the value of this measure should be 100%. A value less than 100% indicates the existence of one/more slow/error-prone pages in the web site. A value less than 50% is indicative of a serious problem, where most of the page views are either slow or have encountered Javascript errors. Under such circumstances, to know what exactly is affecting user experience, compare the value of the Percentage_Slow with that of the Percentage_Error. This will reveal the reason for the poor user experience with the web site/web application - slow pages? or Javascript errors?
Percentage_Slow Indicates the percentage of page views that are slow in loading. Percent Ideally, the value of this measure should be 0. A value over 50% implies that you are in a spot of bother, with over half of the page views being slow. Use the detailed diagnosis of the Slow_Requests measure to identify the slow pages and isolate the root-cause of the slowness - is it the browser? the network? or the backend?
Percentage_Error Indicates the percentage of page views that have encountered JavaScript errors. Percent Ideally, the value of this measure should be 0. A value over 50% implies that you are in a spot of bother, with over half of the page views experiencing JavaScript errors. Use the detailed diagnosis of this measure to identify the error pages and to know what Javascript error has occurred in which page. This will greatly aid troubleshooting!
Slow_Requests Indicates the number of times pages in this web site/web application took very long to be viewed. Number A page view is considered to be slow when the average time taken to load that page exceeds the SLOW TRANSACTION CUTOFF configured for this test.

Ideally, a page should load quickly. The value 0 is hence desired for this measure. If the value of this measure is high, it indicates that users frequently experienced slowness when accessing pages in the web site/web application. To know which page views are slow and why, use the detailed diagnosis of this measure.
Error_Requests Indicates the number of times JavaScript errors occurred when viewing the pages in this web site/web application. Number Ideally, the value of this measure should be 0. A high value indicates that many JavaScript errors are occurring when viewing pages in the web site/web application. Use the detailed diagnosis of this measure to identify the error pages and to know what Javascript error has occurred in which page. This will greatly aid troubleshooting!
Satisfied_Requests Indicates the number of times pages were viewed in the web site without any slowness. Number A page view is considered to be slow when the average time taken to load that page exceeds the SLOW TRANSACTION CUTOFF configured for this test. If this SLOW TRANSACTION CUTOFF is not exceeded, then the page view is deemed to be ‘satisfactory’. To know which page views are satisfactory, use the detailed diagnosis of this measure.

Ideally, the value of this measure should be the same as that of the Page_Requests measure. If not, then it indicates that one/more page views are slow - i.e., have violated the SLOW TRANSACTION CUTOFF.

If the value of this measure is much lesser than the value of the Tolerated_Requests and the Frustrated_Requests, it is a clear indicator that web site performance is below-par. In such a case, use the detailed diagnosis of the Tolerated_Requests and the Frustrated_Requests measures to know which pages are slow and why.
Tolerated_Requests Indicates the number of tolerating page views to the web site/web application. Number If the Avg_Page_Load_Time of a page exceeds the SLOW TRANSACTION CUTTOFF configuration of this test, but is less than 4 times the SLOW TRANSACTION CUTOFF (i.e., < 4 * SLOW TRANSACTION CUTOFF), then such a page view is considered to be a Tolerating page view.

Ideally, the value of this measure should be 0. A value higher than that of the Satisfied_Requests measure is a cause for concern, as it implies that the overall user experience with the pages in the web site is less than satisfactory. To know which pages are contributing to this sub-par experience, use the detailed diagnosis of this measure. The detailed metrics will also enable you to accurately isolate what is causing the Tolerated_Requests - a problem with the frontend? network? or backend?
Frustrated_Requests Indicates the number of frustrated page views to this web site/web application. Number If the Avg_Page_Load_Time of a page is over 4 times the SLOW TRANSACTION CUTTOFF configuration of this test (i.e., > 4 * SLOW TRANSACTION CUTOFF), then such a page view is considered to be a Frustrated page view.

Ideally, the value of this measure should be 0. A value higher than that of the Satisfied_Requests measure is a cause for concern, as it implies that the overall user experience with the pages in the web site is less than satisfactory. To know which pages are contributing to this sub-par experience, use the detailed diagnosis of this measure. The detailed metrics will also enable you to accurately isolate what is causing the Frustrated_Requests - a problem with the frontend? network? or backend?
Desktop_Page_Requests Indicates the number of times this web site/web application was accessed from client desktops. Number To know which pages in the web site were accessed by desktop users and to evaluate the experience of the desktop users with each of these pages, use the detailed diagnosis of this measure. In the process, slow pages can be identified and the reason for the slowness can be pinpointed.
Mobile_Page_Requests Indicates the number of times this web site/web application was accessed from mobile phones. Number To know which pages in the web site were accessed by mobile phone users and to evaluate the experience of these users with each of the pages, use the detailed diagnosis of this measure. In the process, slow pages can be identified and the reason for the slowness can be pinpointed.
Tablet_Page_Requests Indicates the number of times this web site/web application was accessed from tablets. Number To know which pages in the web site were accessed by tablet users and to evaluate the experience of these users with each of the pages, use the detailed diagnosis of this measure. In the process, slow pages can be identified and the reason for the slowness can be pinpointed.
Avg_Page_Rendering_Time Indicates the time taken to complete the download of remaining resources, including images, and to finish rendering the page. ms A high value of this measure indicates that page rendering is taking too long. This can be attributed to an in-optimal HTML document architecture, complex CSS (eg., deeply nested rules, slow selectors, complicated effects such as round borders, gradients etc.), and large sized images.

If the Avg_Page_Load_Time measure reports an abnormally high value, then you may want to compare the value of this measure with that of the Avg_Brow_Init_Req_Time, Avg_Network_Time, Avg_Response_Avail_Time, and Avg_Dom_Ready_Time, measures to nail the exact source of the bottleneck.
Avg_Dom_Ready_Time Indicates the time taken to make the complete HTML document (DOM) available for JavaScript to apply rendering logic. ms This is the time spent between the responseStart event and the documentContentLoadedEventStart event. The documentContentLoadedEventStart is typically fired just before the domContentLoaded event, which is just after browser has finished downloading and parsing all the scripts that had defer set and no async attribute.

In summary, this measure is the sum of the values of the Avg_Dom_Download_Time and Avg_Dom_proc_Time measures.

This means that an abnormal increase in any of the above-mentioned time values will increase the value of this measure.

If content downloading takes unusually long for a request, then you must compare the values of the Average DOM download time and Average DOM processing time measures to figure out what is causing the delay - is it because of the poor responsiveness of server, cache, or local resource? or is it because DOM processing took too long?
Avg_Dom_Download_Time Indicates the time taken to download the complete HTML document on the browser. ms The value of this measure is the time that elapsed between the responseStart and responseEnd events.

Higher the download time of the document, longer will be the time taken to make the document available for page rendering. As a result, the overall user experience will be affected when this browser is used! This is why, a low value is desired for this measure at all times
Avg_Dom_proc_Time Indicates the time taken to build the Document Object Model (DOM) and make it available for JavaScript to apply rendering logic. ms An unusually high value for this measure is a clear indicator that DOM building is taking longer than normal. In consequence, page rendering will be delayed, thus adversely impacting user experience with the web site/web application. Ideally therefore, the value of this measure should be low.
Avg_Response_Avail_Time Indicates the interval between the start of processing of a request on the browser to when the browser receives the response. ms The Avg_Response_Avail_Time is the time spent between the requestStart event and responseStart event.

Ideally, a low value is desired for this measure, as high values will certainly hurt the Apdex_Score of the web site/web application.

The key factor that can influence the value of this measure is the request processing ability of the web server/web application server that is hosting the web site/web application being monitored.

Any slowdown in the backend web server/web application server - caused by the lack of adequate processing power in or improper configuration of the backend server - can significantly delay request processing by the server. In its aftermath, the Avg_Response_Avail_Time will increase, leaving users with an unsatisfactory experience with the web site/web application.

Note:

This test uses the Navigation Timing API to measure web site performance. The Navigation Timing API typically exposes several properties that offer information about the time at which different page load events happen - eg., the requestStart event, the responseStart event, etc. This test uses the time stamps provided by the Navigation Timing API to compute and report the duration of page load events, so you can accurately identify where page loading is bottlenecked.

The Navigation Timing API on Internet Explorer (IE) v11 reports an incorrect time stamp for the requestStart event of the page loading process. As a result, for page view requests initiated from IE 11 browsers alone, eG RUM will report incorrect values for this measure.

This issue was noticed in IE 11 in April 2019. It is recommended that you track hot fixes/patches released by Microsoft post April 2019, study the release notes of such fixes/patches, and determine if this bug has been fixed in any. If so, then you are advised to apply that fix/patch on IE 11 to resolve the issue.

Until then, we recommend that you use the following workaround to accurately measure the Average server time of a page view request.

  • Deploy eG BTM (Java/.NET, as the case may be) on the backend server hosting the target web site/web application.

  • Use eG BTM to trace the path of transactions to the target web site/web application and enable the (Java or .NET) Business Transactions test to capture metrics on transaction performance.

  • Next, use the detailed diagnostics reported by eG RUM to identify the page view requests coming from the IE 11 browser. Make a note of the values in the Request time, URL and Query Params columns of detailed diagnosis.

  • Then, search the detailed diagnostics of the (Java or .NET) Business Transactions test for transactions with the same URL, Request time, and Query Params as reported by eG RUM.

  • The response time that eG BTM reports for each of these transactions is the Avg_Response_Avail_Time of those transactions.

Note that this workaround applies only for those transaction URLs that are captured and reported as part of detailed diagnostics.
Avg_Network_Time Indicates the elapsed time since a user initiates a request and the start of fetching the response document from the server or application. ms The time spent between navigationStart and requestStart makes up the Avg_Network_Time. This includes the time to perform DNS lookups and the time to establish a TCP connection with the server. In other words, the value of this measure is nothing but the sum of the Avg_DNS_Time and Avg_TCP_Time measures.

Ideally, the value of this measure should be low. A very high value will often end up delaying page loading and damaging the quality of the web site service. In the event that the server connection time is high therefore, simply compare the values of the Avg_DNS_Time, and Avg_TCP_Time measures to know to what this delay can be attributed - a delay in domain name resolution? Or a poor network connection to the server?

Note:

This test uses the Navigation Timing API to measure web site performance. The Navigation Timing API typically exposes several properties that offer information about the time at which different page load events happen - eg., the requestStart event, the responseStart event, etc. This test uses the time stamps provided by the Navigation Timing API to compute and report the duration of page load events, so you can accurately identify where page loading is bottlenecked.

The Navigation Timing API on Internet Explorer (IE) v11 reports an incorrect time stamp for the requestStart event of the page loading process. As a result, for page view requests initiated from IE 11 browsers alone, eG RUM will report incorrect values for this measure.

This issue was noticed in IE 11 in April 2019. It is recommended that you track hot fixes/patches released by Microsoft post April 2019, study the release notes of such fixes/patches, and determine if this bug has been fixed in any. If so, then you are advised to apply that fix/patch on IE 11 to resolve the issue.
Avg_DNS_Time Indicates the time taken by the browser to perform the domain lookup for connecting to this web site/web application. ms A high value for this measure will not only affect DNS lookup, but will also impact the Avg_Network_Time and Avg_Page_Load_Time of the web site/web application. This naturally will have a disastrous effect on user experience.
Avg_TCP_Time Indicates the time taken by the browser to establish a TCP connection with the server. ms A bad network connection between the browser client and the server can delay TCP connections to the server As a result, the Avg_Network_Time too will increase, thus impacting page load time and overall user experience with the web site/web application.
Avg_SSL_Handshake_Time Indicates the time taken to complete the SSL handshake. ms An SSL handshake happens when a browser makes a secure request for content, also known as an encrypted HTTPS connection. The user's browser and server negotiate encrypted keys and certificates to establish a secure connection between each other. Because this SSL negotiation requires exchanges between the browser and your server, it increases the time spent by the request on the network (i.e., it adds to the value of the Avg_Network_Time measure). This in turn increases page load time.

In fact, an SSL handshake, along with DNS lookup and TCP handshake add three round trips to the page load time.

A quick fix to this is to use HTTP/2. HTTP/2 can use caching to reduce SSL setup to only one round trip.
Avg_App_Cache_Time Indicates the time taken to check whether/not the requested URL is available in the AppCache. ms HTML5 provides an application caching mechanism that lets web-based applications run offline. Developers can use the Application Cache (AppCache) interface to specify resources that the browser should cache and make available to offline users. Applications that are cached load and work correctly even if users click the refresh button when they are offline. Using an application cache gives an application the following benefits:

  • Offline browsing: users can navigate a site even when they are offline.

  • Speed: cached resources are local, and therefore load faster.

  • Reduced server load: the browser only downloads resources that have changed from the server.

To enable the application cache for an application, you must include the manifest attribute in the <html> element in your application's pages The manifest attribute references a cache manifest file, which is a text file that lists resources (files) that the browser should cache for your application. The browser does not cache pages that do not contain the manifest attribute, unless such pages are explicitly listed in the manifest file itself. You do not need to list all the pages you want cached in the manifest file, the browser implicitly adds every page that the user visits and that has the manifest attribute set to the application cache.

When the browser visits a document that includes the manifest attribute, if no application cache exists, the browser loads the document and then fetches all the entries listed in the manifest file, creating the first version of the application cache.

Subsequent visits to that document cause the browser to load the document and other assets specified in the manifest file from the application cache.

If the manifest file has changed, all the files listed in the manifest-as well as those already added to the cache - are fetched into a temporary cache.

Once all the files have been successfully retrieved, they are moved into the real offline cache automatically. Since the document has already been loaded into the browser from the cache, the updated document will not be rendered until the document is reloaded (either manually or programmatically).

A high value of this measure signifies that requests are spending too much time in the AppCache. This also introduces page loading latencies, which have an adverse effect on user-perceived performance of a web site/application. Common reasons for AppCaching issues and their practical solutions are detailed below:

  • If the media type is not set, then AppCache will not work. To avoid this, make sure that the manifest file is always served under the correct media type of text/cache-manifest.

  • If the manifest file is not served to the web browser from the same origin as the host page, the manifest file will fail to load. To avoid this, make sure that the manifest file is always served from the same origin as the host page. However, note that the manifest file can hold reference to resources to be cached from other domains.

  • The relative URLs that you mention in the manifest are relative to the manifest file and not to the document where you reference the manifest file. If you make this error when the manifest and the reference are not in the same path, the resources will fail to load and in turn the manifest file will not be loaded. This will stall appcaching.

  • Any change made to the manifest file will cause the entire set of files to be downloaded again. Moreover, if a manifest file is added to a HTML file, it forces all resources to be downloaded synchronously as soon as the manifest file is downloaded. As a result, resources that may not yet be required, such as JavaScript or an image below the fold, will be downloaded at the start of the page. This can increase page load time significantly. The solution to this is to load the Application Cache from a simple HTML file loaded in an iframe. This not only avoids caching dynamic HTML but also avoids the Application Cache being downloaded asynchronously after the page load has completed.

Avg_Redirection_Time Indicates the time spent in redirection before fetching the page. ms This measure is the elapsed time between the redirectStart and redirectEnd events.

URL redirection, also known as URL forwarding, is a technique to give a page, a form, or a whole web site/application, more than one URL address. Usually, web site administrators use URL redirection to:

  • Redirect users to the mobile version of the site

  • Redirect users to secured pages

  • Redirect users to the latest version of the resource/content

  • Redirect users to pages specific to their geo location

  • Redirecting canonical URLs



Though redirects are useful, they have to be kept at a minimum, as each redirect on a page adds latency to the overall page load time. This is because, when a user enters a domain into the browser and hits enter, the DNS resolution process is triggered and the domain is resolved to its corresponding IP address in a few milliseconds. If the landing page has another redirect, then the browser repeats the entire DNS resolution process once again to guide the user to the correct web page. The multiple redirect requests are taxing on the browser resources and slow down the page load.

Web page load time is also affected by internal redirects; for example, if the page tries to load content from a URL that has been redirected to newer or updated content, then the browser must create additional requests to fetch the valid content. These redirects result in additional round trips between the browser and the web server which pushes the load time higher; the perceived performance is degraded every time the browser encounters a redundant redirect.

Web site/application performance is also impacted if redirects are not implemented correctly. Some of the common redirect errors are:

  • Multiple redirects: The higher the number of redirects on a page, the higher is its page load time.

  • Invalid redirects: There are often instances where the web site administrator sets up bulk redirects without verifying the validity of the redirects. The site may also have old redirects that were never cleaned up. This can cause several issues on the site like broken links and 404s.

  • Redirect loop: When there are several redirects on the page that are linked to each other, it creates a chain of redirects which may loop back to the same URL that initiated the redirect. This results in a redirect loop error and the user will not be able to access the site.



Therefore, if you find that the value of the Average page load time measure is abnormally high owing to an unusually high value for the Average redirection time measure, then make sure you follow the best practices outlined below while implementing redirects, so you can significantly reduce page load time and improve user experience:

  • Avoid redundant redirects: It's recommended to avoid redirects where possible and to use this method only when absolutely needed. This will cut down unnecessary overhead and improve the perceived performance of the page.

  • Chain redirects: When a URL is linked to another URL, this creates a chained redirect. Each URL added to the chain adds latency to the page. Chained redirects have a negative impact not only on page speed, but also SEO.

  • Clean-up redirects: You may have hundreds of redirects on your website and it could be one of the main factors affecting page speed. Old redirects may conflict with new URLs, backlinks can cause odd errors on the page. It is recommended to verify all the redirects you have set up and to remove the ones that are no longer needed. Retain the old links that have major referral traffic, while those that are rarely accessed can be removed. This exercise will help improve page speed significantly.

Avg_Browser_Wait_Time Indicates the time spent by a request on the browser, waiting for another request to complete. ms This is the sum of the time between every two consecutive events, starting with the navigationStart event till the requestStart event.

Typically, web browsers limit the number of active connections for each domain. Most modern browsers (eg., Chrome) support only six simultaneous requests/connections. In this case therefore, when the seventh request comes in, that request waits on the browser until the six requests sent previously are processed. The waiting time of the seventh request is the browser wait time.

High browser wait time can prolong the browser's initial request time, thus adversely impacting the overall responsiveness of the web site/application. This is why, if the Avg_Brow_Init_Req_Time measure reports an abnormally high value, you will have to compare the values of the Avg_App_Cache_Time, Avg_Redirection_Time and Avg_Browser_Wait_Time measure to determine whether/not the initial request delay observed on the browser is because requests have been waiting on the browser for too long a time.

Some of the means by which you can reduce browser waits are briefly discussed below:

  • Browsers such as Mozilla Firefox support upto 10 parallel requests. You may want to recommend such browsers for your web site/web application users, so that more requests are processed and fewer requests are queued on the browser, thus reducing browser wait time.

  • Web site/application developers can try domain sharding - i.e., split content across multiple domains. Typically, when a user connects to a web page, his or her browser scans the resulting HTML for resources to download. Normally these resources are supplied by a single domain - the domain providing the web page or a domain created specifically for resources. With domain sharding, the user's browser connects to two or more different domains to simultaneously download the resources needed to render the web page. This allows website/application to be delivered faster to users as they do not have to wait for the previous set of requests to end before beginning the next set.

Avg_Brow_Init_Req_Time Indicates the interval between when a request was received by this web site, when it followed a redirect, to when it was processed in the AppCache. ms This measure is the time spent between the navigationStart event to the domainLookupStart event. This also includes the time spent by the browser waiting for one event to end and the next to begin. In short, this measure is the sum of Avg_App_Cache_Time, Avg_Redirection_Time and Avg_Browser_Wait_Time measures. This means that if a request takes too long to follow a redirection, or if the AppCache takes too long to process the request, or if the request spends too much time on the browser for the previous request to complete, then the value of this measure will significantly increase. This in turn will impact user experience, and consequently, the Apdex score.
Unique_IP_Count ms