Web Monitor allows you to monitor how long it takes for a user to download one or more of your web site pages. It visits the page that your request and downloads all content that's directly linked from that page;
- Script files
- It follows redirects
As the pages are downloaded, SiteTimer stores statistics on how long time each item takes to download, and how much data they contained. This information is then presented in a grid.
There are currenly one SiteTimer server, located in Stockholm (Sweden) that performs the actual page downloads. This means that if you're for instance in the US, the measurements you're seeing are based on a user located in Europe, not a user in the US. The flow works as follows;
- As the user clicks the "Start Monitor" button, an AJAX request is sent to the SiteTimer server, requesting a new monitor. The SiteTimer server replies, asynchronously, with a monitor code. The Web Monitor then starts to "browse" the page requested.
- Once this page has access to the monitor code, it sends an AJAX requests for a progress report. The SiteTimer server sends a list of the rows that have changed. If it were to send the entire list each time, the download times would be prohibitive. Instead, with small tight update lists SiteTimer can remain responsive. You'll be able to see the download process as it occurs!
- With each update, the SiteTimer server also specifies if the monitor process is completed. If it's not completed, the page makes another request for an update, repeating step 2. If it is completed, the page continous on to the next step.
- Once the process is completed, the page makes a request for an image that describes the process (try it out to see for yourself). This request is not run as an AJAX request, instead, it simply updates the source of an image. This method is also asynchronous, though technically not AJAX.