|Title||Start Date & Time||End Date & Time|
|Service Maintenance Scheduled: CU-SIS and Portals||Sunday, August 2, 2015 - 6:00am||Sunday, August 2, 2015 - 10:00am|
|Service Maintenance Scheduled: MyCUInfo||Monday, August 3, 2015 - 4:00am||Monday, August 3, 2015 - 6:00am|
|Service Maintenance Scheduled: Campus Cable Television||Tuesday, August 4, 2015 - 8:00am||Tuesday, August 4, 2015 - 5:00pm|
|Service Maintenance Scheduled: Desire2Learn (D2L)||Saturday, August 8, 2015 - 11:00pm||Sunday, August 9, 2015 - 5:00am|
|Service Maintenance Scheduled: SIS-managed Linux Servers||Sunday, August 9, 2015 - 11:00pm||Thursday, August 13, 2015 - 7:00am|
When you are looking at houses, it is usually easy to see which ones have structural damage. The porch roof is leaning unnaturally, or the keystone above the window is missing. We have trained our eyes to see structural damage in houses, but it is harder for us to see structural definiencies in our web sites. What web diagnostics tools do we have to avoid the equivalent of sagging porches and leaky roofs?
A simple method availabe in most modern browsers is the analysis of network activity that a page load on your site generates. It can show us two important metrics: the total page weight and the number of HTTP requests.
The screenshot below shows the network analysis performed in Firefox 25.0 for Mac. I emptied the browser cache before loading the page so that all the resources would load from the server. I then turned on the network analysis pane (Tools > Web Developer > Network) and loaded the page. The browser gives me a list of files that were loaded and calculates the total page weight:
Let's look at three common culprits leading to page weight bloat and HTTP request balooning and suggest techniques for improving the situation.
Any image that is greater than 200-300 Kb in size is likely too big or isn't properly compressed. It is generally a very bad idea to load a big image (that may have come straight from your high-resolution camera) if you only need to display a small thumbnail. I recently came across a site that loaded a 2 megapixel photo that weighed 1.2Mb only to resize in code and display it at a size of 300 by 200 pixels. Loading a properly sized small image instead would have shaved over a megabyte off the page weight.
Lean pages load faster, reduce the need for powerful servers, and are simpler and therefore easier to maintain. Watching the weight of your pages is a worthy exercise. If you would like to get more ideas about making your web site lean or if you would like OIT to help you with your analysis, you can always ask for a free web consultation.