O'Reilly logo

Programming the Mobile Web by Maximiliano Firtman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Performance Optimization

Performance is the key to mobile web success. People want high-performance websites. We hate to wait on our desktops, and the situation is far worse on mobile devices, with their constrained resources. I could write a whole book about mobile web performance, but for now I will just try to distill some best practices and share some hacks that you can easily apply to enhance your website’s performance.

Performance has recently become a hot topic in the desktop web world. In general mobile web developers should follow the same practices, but there are some new ones to keep in mind as well, and some desktop web best practices that will not work on these devices.

Note

If you’re just getting started with performance optimization, the first thing you should do is read two excellent books from Steve Souders (http://stevesouders.com), High Performance Websites and Even Faster Websites, both from O’Reilly. Then, you should follow the Yahoo! and Google performance team blogs at http://developer.yahoo.com/performance and http://code.google.com/speed.

Mobile browsers aren’t the same as desktop web browsers, and not all mobile browsers are created equal. Specifically, the quantity of resources that can be downloaded in parallel and the cache functionality differ. Nevertheless, it is better to approach mobile performance optimization from here than from the ground.

Note

If you want to know more about high-performance mobile websites and mobile browser behavior, check out http://www.mobilexweb.com/go/performance ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required