Log in

View Full Version : How To Improve Your Mobile Site Performance With W3C Navigation API


Richard Chao
08-03-2011, 07:00 AM
<div class='os_post_top_link'><a href='http://windowsteamblog.com/windows_phone/b/wpdev/archive/2011/08/02/measuring-mobile-site-performance-using-the-w3c-navigation-timing-api.aspx' target='_blank'>http://windowsteamblog.com/windows_...timing-api.aspx</a><br /><br /></div><p><em>"As web sites become more like applications, measuring and tuning their performance dramatically increases in importance, especially on mobile devices where latency and other performance-related factors have a high impact on user satisfaction."</em></p><p><em><img height="313" src="http://images.thoughtsmedia.com/resizer/thumbs/size/600/wpt/auto/1312349012.usr117680.jpg" width="427" /></em></p><p>The time it takes to load a web page, especially on a mobile phone, plays a big role in whether visitors continue to return to your site or not. &nbsp;If your load times are too long, visitors will get frustrated and move on to faster loading sites. &nbsp;Optimizing your site's load time will go a long way toward making sure people keep coming back. &nbsp;</p><p>In order to ensure websites are optimized, Microsoft is providing developers with the W3C Navigation API in Windows Phone 7.5 Mango. &nbsp;A couple of measurements the W3C API provides data for include:&nbsp;</p><p>Time needed to unload previous page</p><p>Time elapsed to look up a page's domain</p><p>The time points at which the page DOM starts to load and then becomes interactive</p><p>Time required to perform the window.onload event</p><p>Total time required to load a page from initial navigation request</p><p>If you are coding your mobile site and want to optimize for IE9 on Windows Phone, make sure to take a look at the blog post at the Windows Team Blog. &nbsp;</p>