O'Reilly logo

Mobile Web Performance Optimization by S. Niranga

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

YSlow

YSlow is a tool developed by Yahoo! and it examines all the components of your page's performance and offers suggestions for improvements. YSlow is integrated into the Firebug web development tool for Firefox, and for Chrome you can download their extension.

The Yahoo! team has identified 34 rules that affect a web page's performance and YSlow is based on 23 of these 34 rules. Studies have shown that if a developer can improve the following 23 rules, they can enhance web performance from up to 25 to 50 percent.

  • Minimize HTTP requests
  • Use a CDN
  • Avoid an empty src or href
  • Add expires or a Cache-Control Header
  • Gzip components
  • Put style sheets at the top
  • Put scripts at the bottom
  • Avoid CSS expressions
  • Make JavaScript and CSS external
  • Reduce DNS lookups ...

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